search for: sunkaddr4

Displaying 3 results from an estimated 3 matches for "sunkaddr4".

Did you mean: sunkaddr
2012 Nov 09
0
[LLVMdev] inttoptr and basicaa
...is the relevant IR > snippet. > -------------------- > %sunkaddr36 = ptrtoint %struct.BitParams* %bs to i32 > %sunkaddr37 = add i32 %sunkaddr36, 16 > %sunkaddr38 = inttoptr i32 %sunkaddr37 to i32* > > > > %sunkaddr39 = ptrtoint %struct.BitParams* %bs to i32 > %sunkaddr40 = add i32 %sunkaddr39, 16 > %sunkaddr41 = inttoptr i32 %sunkaddr40 to i64* > --------------------- > > A query to basicaa: alias(%sunkaddr41, 8, %sunkaddr38, 4) results in a > NoAlias return value. > The reason is that nothing inside basicaa processes inttoptr; the fall > th...
2012 Nov 09
2
[LLVMdev] inttoptr and basicaa
...n basica gives up returning mayalias we query tbaa, which will return - based on strict aliasing rules of our language - noalias. opt -basicaa -print-alias-sets basicaa.ll -S -o - Alias Set Tracker: 1 alias sets for 2 pointer values. AliasSet[0x109808c90, 2] may alias, Mod Pointers: (i64* %sunkaddr4, 18446744073709551615), (i32* %sunkaddr2, 18446744073709551615) opt -basicaa -tbaa -print-alias-sets basicaa.ll -S -o - Alias Set Tracker: 2 alias sets for 2 pointer values. AliasSet[0x112d07cf0, 1] must alias, Mod Pointers: (i64* %sunkaddr4, 18446744073709551615) AliasSet[0x112d07d40, 1...
2012 Nov 09
3
[LLVMdev] inttoptr and basicaa
...ng this on basicaa not handling inttoptr. Here is the relevant IR snippet. -------------------- %sunkaddr36 = ptrtoint %struct.BitParams* %bs to i32 %sunkaddr37 = add i32 %sunkaddr36, 16 %sunkaddr38 = inttoptr i32 %sunkaddr37 to i32* %sunkaddr39 = ptrtoint %struct.BitParams* %bs to i32 %sunkaddr40 = add i32 %sunkaddr39, 16 %sunkaddr41 = inttoptr i32 %sunkaddr40 to i64* --------------------- A query to basicaa: alias(%sunkaddr41, 8, %sunkaddr38, 4) results in a NoAlias return value. The reason is that nothing inside basicaa processes inttoptr; the fall through case of using TBAA (int and...