At all is an intensifier for certain types of Negative Polarity Items.
As long as it is commanded by the negative trigger, it can be niched practically anywhere
any other adverb could go in the sentence. There are a lot of niches, and even more kinds of adverbs.
Concentrate on making sure you understand negation and negative polarity items before you worry about unimportant variation like where you put an adverb. Nobody cares as long as you put it in a niche.
We can put adverbs and adverb phrases at the front, in the middle or at the end of a clause. [Resource from here]
The front position of the clause is the first item in the clause:
Suddenly I felt afraid.
Yesterday detectives arrested a man and a woman in connection with the
murder.
The end position of the clause is the last item in the clause:
Why do you always have to eat so fast?
The mid position is between the subject and the main verb:
Apples always taste best when you pick them straight off the tree.
Where there is more than one verb, mid position means after the first auxiliary verb or after a modal verb:
The government has occasionally been forced to change its mind. (after
the first auxiliary verb)
You can definitely never predict what will happen. (after a modal
verb)
We mightn’t ever have met. (after the modal verb and before the
auxiliary verb)
In questions, the mid position is between the subject and the main verb:
Do you ever think about living there?
Adverbs usually come after the main verb be, except in emphatic clauses:
She’s always late for everything.
When be is emphasized, the adverb comes before the verb:
Why should I have gone to see Madonna? I never was a fan of hers.
(emphatic)
Best Answer
While English is usually very strict about word order, when it comes to adverbs and the verb they modify, it can go either way. You can say "we worked tirelessly" or "we tirelessly worked". Both mean the same thing.
Without doing a statistical analysis, I think we usually put the adverb after the verb. "I worked tirelessly", "I ran quickly to the door", "I grabbed selfishly", etc.
Just to make it more complicated, if the verb has a direct object, you can put the adverb before the verb or after the direct object, but not between the verb and the direct object. Like you could say, "I suddenly found the solution", or you could also say, "I found the solution suddenly." But a fluent speaker would NOT say, "I found suddenly the solution."
As to when to put the adverb first and when to put it later, I can't think of any general rule. If someone else on here can suggest a rule, I'm happy to hear it. I think it's mostly about emphasis. If the adverb is important, you tend to put it after. Like if I said, "I worked tirelessly", that puts more emphasis on the claim that I was tireless, but if I said "I tirelessly worked", that puts more emphasis on the fact that I simply worked. But it's often a very subtle difference.