Home
last modified time | relevance | path

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

12

/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-7.0/llvm/lib/Analysis/
DGlobalsModRef.cpp817 const GlobalValue *GV1 = dyn_cast<GlobalValue>(UV1); in alias() local
819 if (GV1 || GV2) { in alias()
822 if (GV1 && !NonAddressTakenGlobals.count(GV1)) in alias()
823 GV1 = nullptr; in alias()
829 if (GV1 && GV2 && GV1 != GV2) in alias()
836 if ((GV1 || GV2) && GV1 != GV2) in alias()
841 if ((GV1 || GV2) && GV1 != GV2) { in alias()
842 const GlobalValue *GV = GV1 ? GV1 : GV2; in alias()
843 const Value *UV = GV1 ? UV2 : UV1; in alias()
855 GV1 = GV2 = nullptr; in alias()
[all …]
DConstantFolding.cpp715 GlobalValue *GV1, *GV2; in SymbolicallyEvaluateBinop() local
718 if (IsConstantOffsetFromGlobal(Op0, GV1, Offs1, DL)) in SymbolicallyEvaluateBinop()
719 if (IsConstantOffsetFromGlobal(Op1, GV2, Offs2, DL) && GV1 == GV2) { in SymbolicallyEvaluateBinop()
DBasicAliasAnalysis.cpp1734 if (const GEPOperator *GV1 = dyn_cast<GEPOperator>(V1)) { in aliasCheck() local
1736 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-7.0/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopStrengthReduce/
Dpr27056.ll9 @GV1 = external global %struct.L*
14 %0 = load %struct.L*, %struct.L** @GV1, align 8
/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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/GlobalISel/
Dirtranslator-callingconv.ll29 ; X32: [[GV1:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a7_8bit
32 ; X32: G_STORE [[LOAD6]](s8), [[GV1]](p0) :: (store 1 into @a7_8bit)
56 ; X64: [[GV1:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a7_8bit
59 ; X64: G_STORE [[LOAD]](s8), [[GV1]](p0) :: (store 1 into @a7_8bit)
95 ; X32: [[GV1:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a7_32bit
98 ; X32: G_STORE [[LOAD6]](s32), [[GV1]](p0) :: (store 4 into @a7_32bit)
116 ; X64: [[GV1:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a7_32bit
119 ; X64: G_STORE [[LOAD]](s32), [[GV1]](p0) :: (store 4 into @a7_32bit)
179 ; X32: [[GV1:%[0-9]+]]:_(p0) = G_GLOBAL_VALUE @a7_64bit
182 ; X32: G_STORE [[MV6]](s64), [[GV1]](p0) :: (store 8 into @a7_64bit, align 4)
[all …]
/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-7.0/llvm/lib/CodeGen/
DGlobalMerge.cpp224 [&DL](const GlobalVariable *GV1, const GlobalVariable *GV2) { in doMerge() argument
225 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DMetadataTest.cpp2308 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2310 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2311 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
2369 std::unique_ptr<GlobalVariable> GV1( in TEST_F() local
2371 GV0->replaceAllUsesWith(GV1.get()); in TEST_F()
2372 EXPECT_TRUE(MD->getValue() == GV1.get()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstantFold.cpp1411 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1, in areGlobalsPotentiallyEqual() argument
1429 if (!isa<GlobalAlias>(GV1) && !isa<GlobalAlias>(GV2)) in areGlobalsPotentiallyEqual()
1430 if (!isGlobalUnsafeForEquality(GV1) && !isGlobalUnsafeForEquality(GV2)) in areGlobalsPotentiallyEqual()
/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()

12