Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DGlobalsModRef.cpp812 const GlobalValue *GV1 = dyn_cast<GlobalValue>(UV1); in alias() local
814 if (GV1 || GV2) { in alias()
817 if (GV1 && !NonAddressTakenGlobals.count(GV1)) in alias()
818 GV1 = 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()
838 const Value *UV = GV1 ? UV2 : UV1; in alias()
850 GV1 = GV2 = nullptr; in alias()
[all …]
DConstantFolding.cpp657 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
660 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, DL)) in SymbolicallyEvaluateBinop()
661 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
DBasicAliasAnalysis.cpp1387 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck() local
1389 aliasGEP(GV1, V1Size, V1AAInfo, V2, V2Size, V2AAInfo, O1, O2); in aliasCheck()
/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.cpp197 [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument
198 return DL.getTypeAllocSize(GV1->getValueType()) < in doMerge()
/external/llvm/unittests/IR/
DMetadataTest.cpp2056 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2058 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2059 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
2100 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2102 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2103 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
/external/llvm/lib/IR/
DConstantFold.cpp1382 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1, in areGlobalsPotentiallyEqual() argument
1400 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual()
1401 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7050 const GlobalValue *GV1 = nullptr; in isConsecutiveLoad() local
7054 bool isGA1 = TLI->isGAPlusOffset(Loc.getNode(), GV1, Offset1); in isConsecutiveLoad()
7056 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLoad()
DDAGCombiner.cpp14486 const GlobalValue *GV1, *GV2; in isAlias() local
14489 Base1, Offset1, GV1, CV1); 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.cpp9262 const GlobalValue *GV1 = nullptr; in isConsecutiveLSLoc() local
9266 bool isGA1 = TLI.isGAPlusOffset(Loc.getNode(), GV1, Offset1); in isConsecutiveLSLoc()
9268 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLSLoc()