[LLVMdev] all LLVM Instructions that may write to memory -- other than StoreInst?

Chuck Zhao
Sat, 22 Jan 2011 14:07:30 -0000

Duncan,

I looked at this function even before starting the discussions.

I think it respects LLVM's principle that only Loads and Stores (+VAArg,
and maybe Call) that can access global memory, but doesn't address the
issues of accessing stack frames or stack objects.

Thank you for the hint.

Chuck

On 1/22/2011 6:17 AM, Duncan Sands wrote:
> Hi Chuck,
>
>> I need to figure out all LLVM Instructions that may write to memory.
> I->mayWriteToMemory()
>
> Ciao, Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev