/external/llvm/lib/Analysis/ |
D | GlobalsModRef.cpp | 784 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 …]
|
D | ConstantFolding.cpp | 671 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()
|
D | BasicAliasAnalysis.cpp | 1494 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/ |
D | GlobalsModRef.cpp | 499 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/ |
D | atomic.ll | 3 @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
|
D | ctor-list-opt.ll | 104 @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/ |
D | ctor-list-opt.ll | 89 @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/ |
D | pr27056.ll | 9 @GV1 = external global %struct.L* 14 %0 = load %struct.L*, %struct.L** @GV1, align 8
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMGlobalMerge.cpp | 102 bool operator()(const GlobalVariable *GV1, const GlobalVariable *GV2) { in operator ()() 103 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in operator ()()
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 207 [&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/ |
D | ConstantFolding.cpp | 527 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local 530 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, *TD)) in SymbolicallyEvaluateBinop() 532 GV1 == GV2) { in SymbolicallyEvaluateBinop()
|
D | BasicAliasAnalysis.cpp | 1198 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/ |
D | MetadataTest.cpp | 2076 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/ |
D | ConstantFold.cpp | 1395 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/ |
D | DAGCombiner.cpp | 7799 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()
|
D | SelectionDAG.cpp | 6511 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/ |
D | SelectionDAG.cpp | 7006 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()
|
D | DAGCombiner.cpp | 14766 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/ |
D | PPCISelLowering.cpp | 9559 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()
|