Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp506 const GlobalValue *GV2 = dyn_cast<GlobalValue>(UV2); in alias() local
507 if (GV1 || GV2) { in alias()
511 if (GV2 && !NonAddressTakenGlobals.count(GV2)) GV2 = 0; in alias()
515 if ((GV1 || GV2) && GV1 != GV2) in alias()
525 GV1 = GV2 = 0; in alias()
533 GV2 = GV; in alias()
540 GV2 = AllocsForIndirectGlobals[UV2]; in alias()
546 if ((GV1 || GV2) && GV1 != GV2) in alias()
/external/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp105 bool operator()(const GlobalVariable *GV1, const GlobalVariable *GV2) { in operator ()()
107 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.cpp1380 if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1382 if (!isa<GlobalAlias>(GV) && !isa<GlobalAlias>(GV2)) in evaluateICmpRelation()
1383 if (!GV->hasExternalWeakLinkage() || !GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1475 } else if (const GlobalValue *GV2 = dyn_cast<GlobalValue>(V2)) { in evaluateICmpRelation() local
1477 if (GV2->hasExternalWeakLinkage()) in evaluateICmpRelation()
1486 if (GV == GV2) { in evaluateICmpRelation()
/external/llvm/lib/Analysis/
DConstantFolding.cpp554 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
558 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, *TD) && in SymbolicallyEvaluateBinop()
559 GV1 == GV2) { in SymbolicallyEvaluateBinop()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5988 const GlobalValue *GV2 = NULL; in isConsecutiveLoad() local
5992 bool isGA2 = TLI.isGAPlusOffset(BaseLoc.getNode(), GV2, Offset2); in isConsecutiveLoad()
5993 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLoad()
DDAGCombiner.cpp8572 const GlobalValue *GV1, *GV2; in isAlias() local
8575 bool isFrameIndex2 = FindBaseOffset(Ptr2, Base2, Offset2, GV2, CV2); in isAlias()
8578 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
8594 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()