Home
last modified time | relevance | path

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

/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/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/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/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/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/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/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()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7007 const GlobalValue *GV2 = nullptr; in areNonVolatileConsecutiveLoads() local
7011 bool isGA2 = TLI->isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in areNonVolatileConsecutiveLoads()
7012 if (isGA1 && isGA2 && GV1 == GV2) in areNonVolatileConsecutiveLoads()
DDAGCombiner.cpp14766 const GlobalValue *GV1, *GV2; in isAlias() local
14771 Base2, Offset2, GV2, CV2); in isAlias()
14774 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
14792 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9560 const GlobalValue *GV2 = nullptr; in isConsecutiveLSLoc() local
9564 bool isGA2 = TLI.isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in isConsecutiveLSLoc()
9565 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLSLoc()