Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DGlobalsModRef.cpp784 const GlobalValue *GV1 = dyn_cast<GlobalValue>(UV1); in alias() local
786 if (GV1 || GV2) { in alias()
789 if (GV1 && !NonAddressTakenGlobals.count(GV1)) in alias()
790 GV1 = nullptr; in alias()
796 if (GV1 && GV2 && GV1 != GV2) in alias()
803 if ((GV1 || GV2) && GV1 != GV2) in alias()
808 if ((GV1 || GV2) && GV1 != GV2) { in alias()
809 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias()
810 const Value *UV = GV1 ? UV2 : UV1; in alias()
822 GV1 = GV2 = nullptr; in alias()
[all …]
DConstantFolding.cpp671 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
674 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, DL)) in SymbolicallyEvaluateBinop()
675 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
DBasicAliasAnalysis.cpp1494 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck() local
1496 aliasGEP(GV1, V1Size, V1AAInfo, V2, V2Size, V2AAInfo, O1, O2); in aliasCheck()
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DGlobalsModRef.cpp499 const GlobalValue *GV1 = dyn_cast<GlobalValue>(UV1); in alias() local
501 if (GV1 || GV2) { in alias()
504 if (GV1 && !NonAddressTakenGlobals.count(GV1)) GV1 = 0; in alias()
509 if ((GV1 || GV2) && GV1 != GV2) in alias()
519 GV1 = GV2 = 0; in alias()
523 GV1 = GV; in alias()
532 GV1 = AllocsForIndirectGlobals[UV1]; in alias()
540 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/swiftshader/third_party/LLVM/test/Transforms/GlobalOpt/
Dctor-list-opt.ll89 @GV1 = global %struct.B zeroinitializer, align 8
94 %0 = bitcast %struct.B* @GV1 to i8*
97 %3 = bitcast %struct.B* @GV1 to i8***
/external/llvm/test/Transforms/LoopStrengthReduce/
Dpr27056.ll9 @GV1 = external global %struct.L*
14 %0 = load %struct.L*, %struct.L** @GV1, align 8
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMGlobalMerge.cpp102 bool operator()(const GlobalVariable *GV1, const GlobalVariable *GV2) { in operator ()()
103 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in operator ()()
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp207 [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument
208 return DL.getTypeAllocSize(GV1->getValueType()) < in doMerge()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp527 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
530 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, *TD)) in SymbolicallyEvaluateBinop()
532 GV1 == GV2) { in SymbolicallyEvaluateBinop()
DBasicAliasAnalysis.cpp1198 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck() local
1199 AliasResult Result = aliasGEP(GV1, V1Size, V2, V2Size, V2TBAAInfo, O1, O2); in aliasCheck()
/external/llvm/unittests/IR/
DMetadataTest.cpp2076 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2078 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2079 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
2137 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2139 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2140 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
/external/llvm/lib/IR/
DConstantFold.cpp1395 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1, in areGlobalsPotentiallyEqual() argument
1413 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual()
1414 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7799 const GlobalValue *GV1, *GV2; in isAlias() local
7801 bool isFrameIndex1 = FindBaseOffset(Ptr1, Base1, Offset1, GV1, CV1); in isAlias()
7805 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
7821 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()
DSelectionDAG.cpp6511 const GlobalValue *GV1 = NULL; in isConsecutiveLoad() local
6515 bool isGA1 = TLI.isGAPlusOffset(Loc.getNode(), GV1, Offset1); in isConsecutiveLoad()
6517 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLoad()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7006 const GlobalValue *GV1 = nullptr; in areNonVolatileConsecutiveLoads() local
7010 bool isGA1 = TLI->isGAPlusOffset(Loc.getNode(), GV1, Offset1); in areNonVolatileConsecutiveLoads()
7012 if (isGA1 && isGA2 && GV1 == GV2) in areNonVolatileConsecutiveLoads()
DDAGCombiner.cpp14766 const GlobalValue *GV1, *GV2; in isAlias() local
14769 Base1, Offset1, GV1, CV1); in isAlias()
14774 if (Base1 == Base2 || (GV1 && (GV1 == GV2)) || (CV1 && (CV1 == CV2))) in isAlias()
14792 if ((isFrameIndex1 || CV1 || GV1) && (isFrameIndex2 || CV2 || GV2)) in isAlias()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9559 const GlobalValue *GV1 = nullptr; in isConsecutiveLSLoc() local
9563 bool isGA1 = TLI.isGAPlusOffset(Loc.getNode(), GV1, Offset1); in isConsecutiveLSLoc()
9565 if (isGA1 && isGA2 && GV1 == GV2) in isConsecutiveLSLoc()