Home
last modified time | relevance | path

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

/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/llvm/lib/Analysis/
DGlobalsModRef.cpp813 const GlobalValue *GV2 = dyn_cast<GlobalValue>(UV2); in alias() local
814 if (GV1 || GV2) { in alias()
819 if (GV2 && !NonAddressTakenGlobals.count(GV2)) in alias()
820 GV2 = nullptr; in alias()
824 if (GV1 && GV2 && GV1 != GV2) in alias()
831 if ((GV1 || GV2) && GV1 != GV2) in alias()
836 if ((GV1 || GV2) && GV1 != GV2) { in alias()
837 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias()
850 GV1 = GV2 = nullptr; in alias()
858 GV2 = GV; in alias()
[all …]
DConstantFolding.cpp657 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
661 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
/external/llvm/lib/Linker/
DLinkModules.cpp648 for (GlobalValue *GV2 : ComdatMembers[SC]) { in addLazyFor()
649 if (!GV2->hasLocalLinkage() && shouldInternalizeLinkedSymbols()) in addLazyFor()
650 Internalize.insert(GV2->getName()); in addLazyFor()
651 Add(*GV2); in addLazyFor()
723 for (GlobalValue *GV2 : ComdatMembers[SC]) in run()
724 ValuesToLink.insert(GV2); in run()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp197 [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument
199 DL.getTypeAllocSize(GV2->getValueType()); in doMerge()
/external/llvm/lib/IR/
DConstantFold.cpp1383 const GlobalValue *GV2) { in areGlobalsPotentiallyEqual() argument
1400 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual()
1401 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual()
1466 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1467 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation()
1559 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1561 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1570 if (GV == GV2) { in evaluateICmpRelation()
1581 return areGlobalsPotentiallyEqual(GV, GV2); in evaluateICmpRelation()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7051 const GlobalValue *GV2 = nullptr; in isConsecutiveLoad() local
7055 bool isGA2 = TLI->isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in isConsecutiveLoad()
7056 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLoad()
DDAGCombiner.cpp14486 const GlobalValue *GV1, *GV2; in isAlias() local
14491 Base2, Offset2, GV2, CV2); in isAlias()
14494 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
14512 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9263 const GlobalValue *GV2 = nullptr; in isConsecutiveLSLoc() local
9267 bool isGA2 = TLI.isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in isConsecutiveLSLoc()
9268 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLSLoc()