/external/llvm/test/Transforms/GlobalOpt/ |
D | atomic.ll | 4 @GV2 = internal global i32 0 7 ; CHECK: @GV2 = internal unnamed_addr global i32 0 18 store atomic i32 10, i32* @GV2 seq_cst, align 4 23 %atomic-load = load atomic i32, i32* @GV2 seq_cst, align 4
|
D | ctor-list-opt.ll | 105 @GV2 = constant [3 x i8*] [i8* inttoptr (i64 16 to i8*), i8* null, i8* bitcast ({ i8*, i8*, i32, i… 113 store i8** getelementptr inbounds ([3 x i8*], [3 x i8*]* @GV2, i64 1, i64 0), i8*** %3
|
/external/llvm-project/llvm/test/Transforms/GlobalOpt/ |
D | atomic.ll | 4 @GV2 = internal global i32 0, align 4 7 ; CHECK: @GV2 = internal unnamed_addr global i32 0, align 4 18 store atomic i32 10, i32* @GV2 seq_cst, align 4 23 %atomic-load = load atomic i32, i32* @GV2 seq_cst, align 4
|
D | ctor-list-opt.ll | 105 @GV2 = constant [3 x i8*] [i8* inttoptr (i64 16 to i8*), i8* null, i8* bitcast ({ i8*, i8*, i32, i… 113 store i8** getelementptr inbounds ([3 x i8*], [3 x i8*]* @GV2, i64 1, i64 0), i8*** %3
|
/external/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 785 const GlobalValue *GV2 = dyn_cast<GlobalValue>(UV2); in alias() local 786 if (GV1 || GV2) { in alias() 791 if (GV2 && !NonAddressTakenGlobals.count(GV2)) in alias() 792 GV2 = nullptr; in alias() 796 if (GV1 && GV2 && GV1 != GV2) in alias() 803 if ((GV1 || GV2) && GV1 != GV2) in alias() 808 if ((GV1 || GV2) && GV1 != GV2) { in alias() 809 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() 822 GV1 = GV2 = nullptr; in alias() 830 GV2 = GV; in alias() [all …]
|
D | ConstantFolding.cpp | 671 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local 675 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 836 const GlobalValue *GV2 = dyn_cast<GlobalValue>(UV2); in alias() local 837 if (GV1 || GV2) { in alias() 842 if (GV2 && !NonAddressTakenGlobals.count(GV2)) in alias() 843 GV2 = nullptr; in alias() 847 if (GV1 && GV2 && GV1 != GV2) in alias() 854 if ((GV1 || GV2) && GV1 != GV2) in alias() 859 if ((GV1 || GV2) && GV1 != GV2) { in alias() 860 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() 873 GV1 = GV2 = nullptr; in alias() 881 GV2 = GV; in alias() [all …]
|
D | BasicAliasAnalysis.cpp | 1635 } else if (const GEPOperator *GV2 = dyn_cast<GEPOperator>(V2)) { in aliasCheck() local 1637 aliasGEP(GV2, V2Size, V2AAInfo, V1, V1Size, V1AAInfo, O2, O1, AAQI); in aliasCheck()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 826 const GlobalValue *GV2 = dyn_cast<GlobalValue>(UV2); in alias() local 827 if (GV1 || GV2) { in alias() 832 if (GV2 && !NonAddressTakenGlobals.count(GV2)) in alias() 833 GV2 = nullptr; in alias() 837 if (GV1 && GV2 && GV1 != GV2) in alias() 844 if ((GV1 || GV2) && GV1 != GV2) in alias() 849 if ((GV1 || GV2) && GV1 != GV2) { in alias() 850 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias() 863 GV1 = GV2 = nullptr; in alias() 871 GV2 = GV; in alias() [all …]
|
/external/llvm-project/llvm/lib/Linker/ |
D | LinkModules.cpp | 409 for (GlobalValue *GV2 : LazyComdatMembers[SC]) { in addLazyFor() 410 GlobalValue *DGV = getLinkedToGlobal(GV2); in addLazyFor() 412 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor() 417 Internalize.insert(GV2->getName()); in addLazyFor() 418 Add(*GV2); in addLazyFor() 535 for (GlobalValue *GV2 : LazyComdatMembers[SC]) { in run() 536 GlobalValue *DGV = getLinkedToGlobal(GV2); in run() 538 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in run() 541 ValuesToLink.insert(GV2); in run()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 438 for (GlobalValue *GV2 : LazyComdatMembers[SC]) { in addLazyFor() 439 GlobalValue *DGV = getLinkedToGlobal(GV2); in addLazyFor() 441 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor() 446 Internalize.insert(GV2->getName()); in addLazyFor() 447 Add(*GV2); in addLazyFor() 564 for (GlobalValue *GV2 : LazyComdatMembers[SC]) { in run() 565 GlobalValue *DGV = getLinkedToGlobal(GV2); in run() 567 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in run() 570 ValuesToLink.insert(GV2); in run()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 409 for (GlobalValue *GV2 : LazyComdatMembers[SC]) { in addLazyFor() 410 GlobalValue *DGV = getLinkedToGlobal(GV2); in addLazyFor() 412 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor() 417 Internalize.insert(GV2->getName()); in addLazyFor() 418 Add(*GV2); in addLazyFor() 535 for (GlobalValue *GV2 : LazyComdatMembers[SC]) { in run() 536 GlobalValue *DGV = getLinkedToGlobal(GV2); in run() 538 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in run() 541 ValuesToLink.insert(GV2); in run()
|
/external/llvm/test/Transforms/LoopStrengthReduce/ |
D | pr27056.ll | 10 @GV2 = external global %struct.L 35 %cmp = icmp eq %struct.L* @GV2, %d.0 48 ; CHECK-NEXT: getelementptr {{.*}} i64 sub (i64 0, i64 ptrtoint (%struct.L* @GV2 to i64))
|
/external/llvm-project/llvm/test/Transforms/LoopStrengthReduce/ |
D | pr27056.ll | 11 @GV2 = external global %struct.L 33 …*]] = getelementptr i8, i8* getelementptr inbounds (%struct.L, %struct.L* @GV2, i32 0, i32 0), i64… 71 %cmp = icmp eq %struct.L* @GV2, %d.0
|
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
D | localizer-arm64-tti.ll | 25 ; CHECK: [[GV2:%[0-9]+]]:gpr(p0) = G_GLOBAL_VALUE @var3 76 ; CHECK: [[GV2:%[0-9]+]]:gpr(p0) = G_GLOBAL_VALUE @var1 77 ; CHECK: [[LOAD:%[0-9]+]]:gpr(s32) = G_LOAD [[GV2]](p0) :: (dereferenceable load 4 from @var1)
|
D | localizer.mir | 360 ; CHECK: [[GV2:%[0-9]+]]:gpr(p0) = G_GLOBAL_VALUE @var1 361 ; CHECK: [[LOAD:%[0-9]+]]:gpr(s32) = G_LOAD [[GV2]](p0) :: (load 4 from @var1)
|
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | partial_initializer.cl | 24 // CHECK: @GV2 = addrspace(1) global <4 x i32> <i32 1, i32 1, i32 1, i32 1>, align 16 25 int4 GV2 = (int4)(1);
|
/external/llvm-project/llvm/test/CodeGen/X86/GlobalISel/ |
D | irtranslator-callingconv.ll | 30 ; X86: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_8bit 33 ; X86: G_STORE [[LOAD7]](s8), [[GV2]](p0) :: (store 1 into @a8_8bit) 57 ; X64: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_8bit 60 ; X64: G_STORE [[LOAD1]](s8), [[GV2]](p0) :: (store 1 into @a8_8bit) 95 ; X86: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_32bit 98 ; X86: G_STORE [[LOAD7]](s32), [[GV2]](p0) :: (store 4 into @a8_32bit) 116 ; X64: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_32bit 119 ; X64: G_STORE [[LOAD1]](s32), [[GV2]](p0) :: (store 4 into @a8_32bit) 179 ; X86: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_64bit 182 ; X86: G_STORE [[MV7]](s64), [[GV2]](p0) :: (store 8 into @a8_64bit, align 4) [all …]
|
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/ |
D | loop.mlir | 64 …spv.globalVariable @GV2 bind(0, 1) : !spv.ptr<!spv.struct<(!spv.array<10 x f32, stride=4> [0])>, S… 69 …%3 = spv.mlir.addressof @GV2 : !spv.ptr<!spv.struct<(!spv.array<10 x f32, stride=4> [0])>, Storage…
|
/external/llvm-project/llvm/lib/IR/ |
D | ConstantFold.cpp | 1646 const GlobalValue *GV2) { in areGlobalsPotentiallyEqual() argument 1663 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual() 1664 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual() 1729 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local 1730 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation() 1787 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) in evaluateICmpRelation() local 1788 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation() 1836 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local 1838 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation() 1847 if (GV == GV2) { in evaluateICmpRelation() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 1525 const GlobalValue *GV2) { in areGlobalsPotentiallyEqual() argument 1542 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual() 1543 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual() 1608 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local 1609 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation() 1709 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local 1711 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation() 1720 if (GV == GV2) { in evaluateICmpRelation() 1731 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 1396 const GlobalValue *GV2) { in areGlobalsPotentiallyEqual() argument 1413 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual() 1414 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual() 1479 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local 1480 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation() 1576 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local 1578 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation() 1587 if (GV == GV2) { in evaluateICmpRelation() 1598 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation()
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 207 [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument 209 DL.getTypeAllocSize(GV2->getValueType()); in doMerge()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 224 Globals, [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument 226 DL.getTypeAllocSize(GV2->getValueType()); in doMerge()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 225 Globals, [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument 228 DL.getTypeAllocSize(GV2->getValueType()).getFixedSize(); in doMerge()
|