Home
last modified time | relevance | path

Searched refs:GV2 (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/lib/Analysis/
DGlobalsModRef.cpp785 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 …]
DConstantFolding.cpp671 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
675 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
/external/llvm/test/Transforms/GlobalOpt/
Datomic.ll4 @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
Dctor-list-opt.ll105 @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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/
Datomic.ll4 @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
Dctor-list-opt.ll105 @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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DGlobalsModRef.cpp818 const GlobalValue *GV2 = dyn_cast<GlobalValue>(UV2); in alias() local
819 if (GV1 || GV2) { in alias()
824 if (GV2 && !NonAddressTakenGlobals.count(GV2)) in alias()
825 GV2 = nullptr; in alias()
829 if (GV1 && GV2 && GV1 != GV2) in alias()
836 if ((GV1 || GV2) && GV1 != GV2) in alias()
841 if ((GV1 || GV2) && GV1 != GV2) { in alias()
842 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias()
855 GV1 = GV2 = nullptr; in alias()
863 GV2 = GV; in alias()
[all …]
DConstantFolding.cpp715 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
719 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DGlobalsModRef.cpp500 const GlobalValue *GV2 = dyn_cast<GlobalValue>(UV2); in alias() local
501 if (GV1 || GV2) { in alias()
505 if (GV2 && !NonAddressTakenGlobals.count(GV2)) GV2 = 0; in alias()
509 if ((GV1 || GV2) && GV1 != GV2) in alias()
519 GV1 = GV2 = 0; in alias()
527 GV2 = GV; in alias()
534 GV2 = AllocsForIndirectGlobals[UV2]; in alias()
540 if ((GV1 || GV2) && GV1 != GV2) in alias()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/
DLinkModules.cpp409 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/
DLinkModules.cpp438 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-7.0/llvm/test/Transforms/LoopStrengthReduce/
Dpr27056.ll10 @GV2 = external global %struct.L
35 %cmp = icmp eq %struct.L* @GV2, %d.0
49 ; CHECK-NEXT: getelementptr {{.*}} getelementptr inbounds (%struct.L, %struct.L* @GV2, i32 0, i32 …
/external/llvm/test/Transforms/LoopStrengthReduce/
Dpr27056.ll10 @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/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMGlobalMerge.cpp102 bool operator()(const GlobalVariable *GV1, const GlobalVariable *GV2) { in operator ()()
104 Type *Ty2 = cast<PointerType>(GV2->getType())->getElementType(); in operator ()()
/external/swiftshader/third_party/LLVM/test/Transforms/GlobalOpt/
Dctor-list-opt.ll90 @GV2 = constant [3 x i8*] [i8* inttoptr (i64 16 to i8*), i8* null, i8* bitcast ({ i8*, i8*, i32, i…
98 store i8** getelementptr inbounds ([3 x i8*]* @GV2, i64 1, i64 0), i8*** %3
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/GlobalISel/
Dirtranslator-callingconv.ll30 ; X32: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_8bit
33 ; X32: 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)
96 ; X32: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_32bit
99 ; X32: G_STORE [[LOAD7]](s32), [[GV2]](p0) :: (store 4 into @a8_32bit)
117 ; X64: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_32bit
120 ; X64: G_STORE [[LOAD1]](s32), [[GV2]](p0) :: (store 4 into @a8_32bit)
180 ; X32: [[GV2:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a8_64bit
183 ; X32: G_STORE [[MV7]](s64), [[GV2]](p0) :: (store 8 into @a8_64bit, align 4)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp1412 const GlobalValue *GV2) { in areGlobalsPotentiallyEqual() argument
1429 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual()
1430 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual()
1495 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1496 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation()
1596 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1598 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1607 if (GV == GV2) { in evaluateICmpRelation()
1618 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation()
/external/llvm/lib/IR/
DConstantFold.cpp1396 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/
DGlobalMerge.cpp207 [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument
209 DL.getTypeAllocSize(GV2->getValueType()); in doMerge()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DGlobalMerge.cpp224 [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument
226 DL.getTypeAllocSize(GV2->getValueType()); in doMerge()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp1648 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1650 if (!isa<GlobalAlias>(GV) && !isa<GlobalAlias>(GV2)) in evaluateICmpRelation()
1651 if (!GV->hasExternalWeakLinkage() || !GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1743 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1745 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1754 if (GV == GV2) { in evaluateICmpRelation()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp527 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
531 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, *TD) && in SymbolicallyEvaluateBinop()
532 GV1 == GV2) { in SymbolicallyEvaluateBinop()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DMetadataTest.cpp746 std::unique_ptr<GlobalVariable> GV2( in TEST_F() local
748 GV->replaceAllUsesWith(GV2.get()); in TEST_F()
750 Metadata *NullOps[] = {ConstantAsMetadata::get(GV2.get())}; in TEST_F()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7799 const GlobalValue *GV1, *GV2; in isAlias() local
7802 bool isFrameIndex2 = FindBaseOffset(Ptr2, Base2, Offset2, GV2, CV2); in isAlias()
7805 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
7821 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()
DSelectionDAG.cpp6512 const GlobalValue *GV2 = NULL; in isConsecutiveLoad() local
6516 bool isGA2 = TLI.isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in isConsecutiveLoad()
6517 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLoad()

12