Home
last modified time | relevance | path

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

/external/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/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/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/VMCore/
DConstantFold.cpp1645 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1647 if (!isa<GlobalAlias>(GV) && !isa<GlobalAlias>(GV2)) in evaluateICmpRelation()
1648 if (!GV->hasExternalWeakLinkage() || !GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1740 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1742 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1751 if (GV == GV2) { in evaluateICmpRelation()
/external/llvm/lib/Analysis/
DConstantFolding.cpp522 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
526 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, *TD) && in SymbolicallyEvaluateBinop()
527 GV1 == GV2) { in SymbolicallyEvaluateBinop()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7760 const GlobalValue *GV1, *GV2; in isAlias() local
7763 bool isFrameIndex2 = FindBaseOffset(Ptr2, Base2, Offset2, GV2, CV2); in isAlias()
7766 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
7782 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()
DSelectionDAG.cpp6402 const GlobalValue *GV2 = NULL; in isConsecutiveLoad() local
6406 bool isGA2 = TLI.isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in isConsecutiveLoad()
6407 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLoad()