Home
last modified time | relevance | path

Searched refs:GV1 (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Analysis/IPA/
DGlobalsModRef.cpp490 const GlobalValue *GV1 = dyn_cast<GlobalValue>(UV1); in alias() local
492 if (GV1 || GV2) { in alias()
495 if (GV1 && !NonAddressTakenGlobals.count(GV1)) GV1 = nullptr; in alias()
500 if ((GV1 || GV2) && GV1 != GV2) in alias()
510 GV1 = GV2 = nullptr; in alias()
514 GV1 = GV; in alias()
523 GV1 = AllocsForIndirectGlobals[UV1]; in alias()
531 if ((GV1 || GV2) && GV1 != GV2) in alias()
/external/llvm/test/Transforms/GlobalOpt/
Datomic.ll3 @GV1 = internal global i64 1
6 ; CHECK: @GV1 = internal unnamed_addr constant i64 1
11 %0 = load atomic i8, i8* bitcast (i64* @GV1 to i8*) acquire, align 8
Dctor-list-opt.ll104 @GV1 = global %struct.B zeroinitializer, align 8
109 %0 = bitcast %struct.B* @GV1 to i8*
112 %3 = bitcast %struct.B* @GV1 to i8***
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp159 [this](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument
160 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in doMerge()
/external/llvm/unittests/IR/
DMetadataTest.cpp2039 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2041 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2042 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
2083 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2085 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2086 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
/external/llvm/lib/Analysis/
DConstantFolding.cpp654 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
657 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, DL)) in SymbolicallyEvaluateBinop()
658 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
DBasicAliasAnalysis.cpp1479 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck() local
1480 AliasResult Result = aliasGEP(GV1, V1Size, V1AAInfo, V2, V2Size, V2AAInfo, O1, O2); in aliasCheck()
/external/llvm/lib/IR/
DConstantFold.cpp1376 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1, in areGlobalsPotentiallyEqual() argument
1394 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual()
1395 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6682 const GlobalValue *GV1 = nullptr; in isConsecutiveLoad() local
6686 bool isGA1 = TLI->isGAPlusOffset(Loc.getNode(), GV1, Offset1); in isConsecutiveLoad()
6688 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLoad()
DDAGCombiner.cpp13204 const GlobalValue *GV1, *GV2; in isAlias() local
13207 Base1, Offset1, GV1, CV1); in isAlias()
13212 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
13230 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp8944 const GlobalValue *GV1 = nullptr; in isConsecutiveLSLoc() local
8948 bool isGA1 = TLI.isGAPlusOffset(Loc.getNode(), GV1, Offset1); in isConsecutiveLSLoc()
8950 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLSLoc()