/external/llvm/test/Transforms/JumpThreading/ |
thread-loads.ll | 44 ;; Check that we preserve TBAA information. 56 ; CHECK: store{{.*}}, !tbaa !0 58 store i32 42, i32* %P, align 4, !tbaa !0 63 %2 = load i32* %P, align 4, !tbaa !0 80 !2 = metadata !{metadata !"Simple C/C++ TBAA", null}
|
/external/clang/lib/CodeGen/ |
CodeGenTBAA.cpp | 1 //===--- CodeGenTypes.cpp - TBAA information for LLVM CodeGen -------------===// 10 // This is the code that manages TBAA information and defines the TBAA policy 45 // (or a different version of this front-end), their TBAA trees will 48 Root = MDHelper.createTBAARoot("Simple C/C++ TBAA"); 53 // For both scalar TBAA and struct-path aware TBAA, the scalar type has the 89 // At -O0 or relaxed aliasing, TBAA is not emitted for regular types. 146 // however they aren't related for TBAA. 227 /// Check if the given type can be handled by path-aware TBAA [all...] |
CodeGenTBAA.h | 1 //===--- CodeGenTBAA.h - TBAA information for LLVM CodeGen ------*- C++ -*-===// 10 // This is the code that manages TBAA information and defines the TBAA policy 83 /// !tbaa.struct metadata formation. Return false for an unsupported type. 89 /// A wrapper function to create a scalar type. For struct-path aware TBAA, 101 /// getTBAAInfo - Get the TBAA MDNode to be used for a dereference 105 /// getTBAAInfoForVTablePtr - Get the TBAA MDNode to be used for a
|
/external/llvm/test/Transforms/LICM/ |
scalar_promote.ll | 1 ; RUN: opt < %s -basicaa -tbaa -licm -S | FileCheck %s 154 ; PR14753 - Preserve TBAA tags when promoting values in a loop. 157 store i32 0, i32* %gi, align 4, !tbaa !0 168 store float 0.000000e+00, float* %arrayidx, align 4, !tbaa !3 169 %0 = load i32* %gi, align 4, !tbaa !0 171 store i32 %inc, i32* %gi, align 4, !tbaa !0 182 ; CHECK-NEXT: %gi.promoted = load i32* %gi, align 4, !tbaa !0 185 ; CHECK-NEXT: store i32 %[[LCSSAPHI]], i32* %gi, align 4, !tbaa !0 190 !2 = metadata !{metadata !"Simple C/C++ TBAA"}
|
/external/llvm/test/CodeGen/AArch64/ |
arm64-indexed-vector-ldst-2.ll | 13 %0 = load double* %arrayidx4, align 8, !tbaa !1 14 %1 = load double* %P1, align 8, !tbaa !1 40 !4 = metadata !{metadata !"Simple C/C++ TBAA"}
|
arm64-abi_align.ll | 264 %0 = load i32* %i1, align 4, !tbaa !0 266 %1 = load i32* %i2, align 4, !tbaa !0 268 %2 = load i16* %s, align 2, !tbaa !3 271 %3 = load i16* %s5, align 2, !tbaa !3 304 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.s42* @g42 to i8*), i64 24, i32 4, i1 false), !tbaa.struct !4 306 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %1, i8* bitcast (%struct.s42* @g42_2 to i8*), i64 24, i32 4, i1 false), !tbaa.struct !4 350 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.s42* @g42 to i8*), i64 24, i32 4, i1 false), !tbaa.struct !4 352 call void @llvm.memcpy.p0i8.p0i8.i64(i8* %1, i8* bitcast (%struct.s42* @g42_2 to i8*), i64 24, i32 4, i1 false), !tbaa.struct !4 373 %0 = load i32* %i1, align 4, !tbaa !0 375 %1 = load i32* %i2, align 4, !tbaa ! [all...] |
/external/llvm/lib/Analysis/ |
TypeBasedAliasAnalysis.cpp | 11 // metadata-based TBAA. 14 // suitable for doing TBAA. Instead, metadata is added to the IR to describe 16 // typical C/C++ TBAA, but it can also be used to implement custom alias 19 // We now support two types of metadata format: scalar TBAA and struct-path 20 // aware TBAA. After all testing cases are upgraded to use struct-path aware 21 // TBAA and we can auto-upgrade existing bc files, the support for scalar TBAA 24 // The scalar TBAA metadata format is very simple. TBAA MDNodes have up to 48 // With struct-path aware TBAA, the MDNodes attached to an instruction usin [all...] |
/art/compiler/llvm/ |
md_builder.cc | 29 DCHECK_GE(sty_id, 0) << "Unknown TBAA special type: " << sty_id; 30 DCHECK_LT(sty_id, MAX_TBAA_SPECIAL_TYPE) << "Unknown TBAA special type: " << sty_id; 64 LOG(FATAL) << "Unknown TBAA special type: " << sty_id; 87 LOG(FATAL) << "Unknown TBAA special type: " << sty_id;
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
new16.cpp | 4 // Test that we don't let TBAA reorder an assignment across a
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
new16.cpp | 4 // Test that we don't let TBAA reorder an assignment across a
|
/frameworks/rs/driver/runtime/ll32/ |
allocation.ll | 8 ; information for the type based alias analysis, such that the TBAA analysis 13 ; The TBAA tree in this file has the the node "RenderScript TBAA" as its root. 17 ; TBAA metadata. 19 ; allocations are either annotated with the RenderScript TBAA information or 21 ; can add the RenderScript TBAA tree under the C/C++ TBAA tree. This enables 22 ; then the TBAA to prove that an access to data from the RenderScript allocation 27 !14 = metadata !{metadata !"RenderScript TBAA"} 33 store i8 %val, i8* %1, align 1, !tbaa !2 [all...] |
/frameworks/rs/driver/runtime/ll64/ |
allocation.ll | 10 ; information for the type based alias analysis, such that the TBAA analysis 15 ; The TBAA tree in this file has the the node "RenderScript TBAA" as its root. 19 ; TBAA metadata. 21 ; allocations are either annotated with the RenderScript TBAA information or 23 ; can add the RenderScript TBAA tree under the C/C++ TBAA tree. This enables 24 ; then the TBAA to prove that an access to data from the RenderScript allocation 29 !14 = metadata !{metadata !"RenderScript TBAA"} 35 store i8 %val, i8* %1, align 1, !tbaa !2 [all...] |
/external/llvm/test/Transforms/LoopVectorize/ |
scev-exitlim-crash.ll | 32 %0 = load i32** @e, align 8, !tbaa !4 39 %1 = load i32* @b, align 4, !tbaa !5 52 store i32 %add10, i32* @f, align 4, !tbaa !5 66 %4 = load i32* %arrayidx, align 4, !tbaa !5 68 store i32 %4, i32* %arrayidx15, align 4, !tbaa !5 78 %6 = load i32* @c, align 4, !tbaa !5 80 store i32 %inc20, i32* @c, align 4, !tbaa !5 82 %7 = load i32* @b, align 4, !tbaa !5 88 store i32* %add.ptr.lcssa, i32** @d, align 8, !tbaa !4 111 !2 = metadata !{metadata !"Simple C/C++ TBAA"} [all...] |
no_switch.ll | 24 %0 = load i32* %arrayidx, align 4, !dbg !14, !tbaa !16 37 store i32 %2, i32* %arrayidx, align 4, !dbg !23, !tbaa !16 42 store i32 %storemerge, i32* %arrayidx, align 4, !dbg !20, !tbaa !16 80 !19 = metadata !{metadata !"Simple C/C++ TBAA"}
|
/external/llvm/test/Transforms/GVN/ |
cond_br2.ll | 25 store i8* %1, i8** %BeginX.i.i.i.i.i.i, align 16, !tbaa !4 27 store i8* %1, i8** %EndX.i.i.i.i.i.i, align 8, !tbaa !4 31 store i8* %add.ptr.i.i.i.i.i.i, i8** %CapacityX.i.i.i.i.i.i, align 16, !tbaa !4 33 %2 = load i8** %EndX.i, align 8, !tbaa !4 45 store i32 1, i32* %4, align 4, !tbaa !5 54 %.pre.i = load i8** %EndX.i, align 8, !tbaa !4 59 store i8* %add.ptr.i, i8** %EndX.i, align 8, !tbaa !4 60 %6 = load i8** %CapacityX.i, align 16, !tbaa !4 65 %.pre.i13 = load i8** %EndX.i, align 8, !tbaa !4 72 store i32 2, i32* %8, align 4, !tbaa ! [all...] |
/external/llvm/test/Transforms/LoopVectorize/X86/ |
vectorization-remarks.ll | 23 store i32 0, i32* %diff, align 4, !dbg !10, !tbaa !11 30 %0 = load i8* %arrayidx, align 1, !dbg !19, !tbaa !21 33 %1 = load i8* %arrayidx2, align 1, !dbg !19, !tbaa !21 42 store i32 %add, i32* %diff, align 4, !dbg !19, !tbaa !11 65 !14 = metadata !{metadata !"Simple C/C++ TBAA"}
|
vectorization-remarks-missed.ll | 56 store i32 %0, i32* %arrayidx, align 4, !dbg !16, !tbaa !18 78 store i32 %0, i32* %arrayidx, align 4, !dbg !30, !tbaa !18 100 %0 = load i32* %arrayidx, align 4, !dbg !35, !tbaa !18 103 %1 = load i32* %arrayidx2, align 4, !dbg !35, !tbaa !18 105 store i32 %1, i32* %arrayidx4, align 4, !dbg !35, !tbaa !18 145 !21 = metadata !{metadata !"Simple C/C++ TBAA"}
|
/external/llvm/include/llvm/IR/ |
AutoUpgrade.h | 49 /// If the TBAA tag for the given instruction uses the scalar TBAA format, 50 /// we upgrade it to the struct-path aware TBAA format.
|
/external/llvm/test/CodeGen/R600/ |
si-lod-bias.ll | 12 %21 = load <16 x i8> addrspace(2)* %20, !tbaa !1 15 %24 = load <32 x i8> addrspace(2)* %23, !tbaa !1 17 %26 = load <16 x i8> addrspace(2)* %25, !tbaa !1
|
wait.ll | 11 %11 = load <16 x i8> addrspace(2)* %10, !tbaa !0 18 %18 = load <16 x i8> addrspace(2)* %17, !tbaa !0
|
/external/llvm/test/Instrumentation/ThreadSanitizer/ |
read_from_global.ll | 44 %vtable = load void (%struct.Foo*)*** %0, align 8, !tbaa !2 57 !0 = metadata !{metadata !"Simple C/C++ TBAA", null}
|
/external/llvm/lib/IR/ |
IRBuilder.cpp | 74 // Set the TBAA info if present. 94 // Set the TBAA info if present. 98 // Set the TBAA Struct info if present. 118 // Set the TBAA info if present.
|
LLVMContext.cpp | 42 // Create the 'tbaa' metadata kind. 43 unsigned TBAAID = getMDKindID("tbaa"); 44 assert(TBAAID == MD_tbaa && "tbaa kind id drifted"); (void)TBAAID; 60 // Create the 'tbaa.struct' metadata kind. 61 unsigned TBAAStructID = getMDKindID("tbaa.struct"); 62 assert(TBAAStructID == MD_tbaa_struct && "tbaa.struct kind id drifted");
|
/external/llvm/test/CodeGen/PowerPC/ |
glob-comp-aa-crash.ll | 28 store %"class.std::__1::mutex"* %__mut_, %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !5 30 store i8 1, i8* %__owns_.i.i, align 8, !tbaa !6 68 %7 = load i8* %__owns_.i.i, align 8, !tbaa !6, !range !4 73 %8 = load %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !5 83 %9 = load i8* %__owns_.i.i, align 8, !tbaa !6, !range !4 88 %10 = load %"class.std::__1::mutex"** %__m_.i.i, align 8, !tbaa !5 135 !2 = metadata !{metadata !"Simple C/C++ TBAA"}
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSForEachExpand.cpp | 513 // Create TBAA meta-data. 517 TBAARenderScript = MDHelper.createTBAARoot("RenderScript TBAA"); 571 OutBasePtr->setMetadata("tbaa", TBAAPointer); 607 InBasePtr->setMetadata("tbaa", TBAAPointer); 659 InBasePtr->setMetadata("tbaa", TBAAPointer); 720 InputLoad->setMetadata("tbaa", TBAAAllocation); 744 Store->setMetadata("tbaa", TBAAAllocation); 758 /// are all annotated with RenderScript TBAA metadata, only then we 759 /// can safely use TBAA to distinguish between generic and from-allocation 775 // that are not yet annotated with RenderScript-specific tbaa information [all...] |