Home
last modified time | relevance | path

Searched refs:ElTy (Results 1 – 25 of 46) sorted by relevance

12

/external/swiftshader/third_party/LLVM/tools/bugpoint/
DListReducer.h28 template<typename ElTy>
44 virtual TestResult doTest(std::vector<ElTy> &Prefix,
45 std::vector<ElTy> &Kept,
52 bool reduceList(std::vector<ElTy> &TheList, std::string &Error) { in reduceList()
53 std::vector<ElTy> empty; in reduceList()
96 std::vector<ElTy> ShuffledList(TheList); in reduceList()
116 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin()+Mid); in reduceList()
117 std::vector<ElTy> Suffix(TheList.begin()+Mid, TheList.end()); in reduceList()
159 std::vector<ElTy> EmptyList; in reduceList()
177 std::vector<ElTy> TestList(TheList); in reduceList()
/external/llvm/tools/bugpoint/
DListReducer.h28 template<typename ElTy>
44 virtual TestResult doTest(std::vector<ElTy> &Prefix,
45 std::vector<ElTy> &Kept,
52 bool reduceList(std::vector<ElTy> &TheList, std::string &Error) { in reduceList()
53 std::vector<ElTy> empty; in reduceList()
101 std::vector<ElTy> ShuffledList(TheList); in reduceList()
121 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin()+Mid); in reduceList()
122 std::vector<ElTy> Suffix(TheList.begin()+Mid, TheList.end()); in reduceList()
164 std::vector<ElTy> EmptyList; in reduceList()
183 std::vector<ElTy> TestList(TheList); in reduceList()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DListReducer.h29 template <typename ElTy> struct ListReducer {
42 virtual Expected<TestResult> doTest(std::vector<ElTy> &Prefix,
43 std::vector<ElTy> &Kept) = 0;
48 Expected<bool> reduceList(std::vector<ElTy> &TheList) { in reduceList()
49 std::vector<ElTy> empty; in reduceList()
95 std::vector<ElTy> ShuffledList(TheList); in reduceList()
121 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin() + Mid); in reduceList()
122 std::vector<ElTy> Suffix(TheList.begin() + Mid, TheList.end()); in reduceList()
164 std::vector<ElTy> EmptyList; in reduceList()
184 std::vector<ElTy> TestList(TheList); in reduceList()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DVerifier.cpp1303 Type *ElTy = in visitGetElementPtrInst() local
1305 Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst()
1307 cast<PointerType>(GEP.getType())->getElementType() == ElTy, in visitGetElementPtrInst()
1308 "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst()
1315 Type *ElTy = PTy->getElementType(); in visitLoadInst() local
1316 Assert2(ElTy == LI.getType(), in visitLoadInst()
1317 "Load result type does not match pointer operand type!", &LI, ElTy); in visitLoadInst()
1333 Type *ElTy = PTy->getElementType(); in visitStoreInst() local
1334 Assert2(ElTy == SI.getOperand(0)->getType(), in visitStoreInst()
1336 &SI, ElTy); in visitStoreInst()
[all …]
DConstantFold.cpp112 Type *ElTy = PTy->getElementType(); in FoldBitCast() local
113 while (ElTy != DPTy->getElementType()) { in FoldBitCast()
114 if (StructType *STy = dyn_cast<StructType>(ElTy)) { in FoldBitCast()
116 ElTy = STy->getElementType(0); in FoldBitCast()
119 dyn_cast<SequentialType>(ElTy)) { in FoldBitCast()
120 if (ElTy->isPointerTy()) break; // Can't index into pointers! in FoldBitCast()
121 ElTy = STy->getElementType(); in FoldBitCast()
128 if (ElTy == DPTy->getElementType()) in FoldBitCast()
1489 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument
1509 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp280 Type *ElTy = V->getType(); in doPromotion() local
285 (ElTy->isStructTy() ? Type::getInt32Ty(F->getContext()) in doPromotion()
289 if (auto *ElPTy = dyn_cast<PointerType>(ElTy)) in doPromotion()
290 ElTy = ElPTy->getElementType(); in doPromotion()
292 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in doPromotion()
764 Type *ElTy = StructTy->getElementType(i); in isDenselyPacked() local
765 if (!isDenselyPacked(ElTy, DL)) in isDenselyPacked()
769 StartPos += DL.getTypeAllocSizeInBits(ElTy); in isDenselyPacked()
/external/llvm/lib/IR/
DVerifier.cpp2887 Type *ElTy = in visitGetElementPtrInst() local
2889 Assert(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst()
2892 GEP.getResultElementType() == ElTy, in visitGetElementPtrInst()
2893 "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst()
2979 Type *ElTy = LI.getType(); in visitLoadInst() local
2982 Assert(ElTy->isSized(), "loading unsized types is not allowed", &LI); in visitLoadInst()
2989 Assert(ElTy->isIntegerTy() || ElTy->isPointerTy() || in visitLoadInst()
2990 ElTy->isFloatingPointTy(), in visitLoadInst()
2993 ElTy, &LI); in visitLoadInst()
2994 checkAtomicMemAccessSize(M, ElTy, &LI); in visitLoadInst()
[all …]
DConstantFold.cpp115 Type *ElTy = PTy->getElementType(); in FoldBitCast() local
116 while (ElTy != DPTy->getElementType()) { in FoldBitCast()
117 if (StructType *STy = dyn_cast<StructType>(ElTy)) { in FoldBitCast()
119 ElTy = STy->getElementType(0); in FoldBitCast()
122 dyn_cast<SequentialType>(ElTy)) { in FoldBitCast()
123 if (ElTy->isPointerTy()) break; // Can't index into pointers! in FoldBitCast()
124 ElTy = STy->getElementType(); in FoldBitCast()
131 if (ElTy == DPTy->getElementType()) in FoldBitCast()
1299 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument
1321 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp188 Type *ElTy = StructTy->getElementType(i); in isDenselyPacked() local
189 if (!isDenselyPacked(ElTy, DL)) in isDenselyPacked()
193 StartPos += DL.getTypeAllocSizeInBits(ElTy); in isDenselyPacked()
830 Type *ElTy = V->getType(); in DoPromotion() local
834 Type *IdxTy = (ElTy->isStructTy() ? in DoPromotion()
839 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II); in DoPromotion()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DAliasAnalysisEvaluator.cpp210 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); in runOnFunction() local
211 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy); in runOnFunction()
DScalarEvolutionExpander.cpp375 Type *ElTy = PTy->getElementType(); in expandAddToGEP() local
393 if (ElTy->isSized()) { in expandAddToGEP()
394 const SCEV *ElSize = SE.getSizeOfExpr(ElTy); in expandAddToGEP()
430 while (StructType *STy = dyn_cast<StructType>(ElTy)) { in expandAddToGEP()
446 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
462 ElTy = in expandAddToGEP()
475 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
481 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP()
482 ElTy = ATy->getElementType(); in expandAddToGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DVerifier.cpp3110 Type *ElTy = in visitGetElementPtrInst() local
3112 Assert(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst()
3115 GEP.getResultElementType() == ElTy, in visitGetElementPtrInst()
3116 "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst()
3199 Type *ElTy = LI.getType(); in visitLoadInst() local
3202 Assert(ElTy->isSized(), "loading unsized types is not allowed", &LI); in visitLoadInst()
3209 Assert(ElTy->isIntOrPtrTy() || ElTy->isFloatingPointTy(), in visitLoadInst()
3212 ElTy, &LI); in visitLoadInst()
3213 checkAtomicMemAccessSize(ElTy, &LI); in visitLoadInst()
3225 Type *ElTy = PTy->getElementType(); in visitStoreInst() local
[all …]
DConstantFold.cpp116 Type *ElTy = PTy->getElementType(); in FoldBitCast() local
117 while (ElTy != DPTy->getElementType()) { in FoldBitCast()
118 if (StructType *STy = dyn_cast<StructType>(ElTy)) { in FoldBitCast()
120 ElTy = STy->getElementType(0); in FoldBitCast()
123 dyn_cast<SequentialType>(ElTy)) { in FoldBitCast()
124 ElTy = STy->getElementType(); in FoldBitCast()
131 if (ElTy == DPTy->getElementType()) in FoldBitCast()
1315 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument
1337 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
/external/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp243 Type *ElTy = cast<PointerType>(Pointer->getType())->getElementType(); in runInternal() local
244 if (ElTy->isSized()) Size = DL.getTypeStoreSize(ElTy); in runInternal()
DScalarEvolutionExpander.cpp391 Type *ElTy = OriginalElTy; in expandAddToGEP() local
411 if (ElTy->isSized()) { in expandAddToGEP()
412 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); in expandAddToGEP()
447 while (StructType *STy = dyn_cast<StructType>(ElTy)) { in expandAddToGEP()
463 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
474 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
480 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP()
481 ElTy = ATy->getElementType(); in expandAddToGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp236 Type *ElTy = cast<PointerType>(Pointer->getType())->getElementType(); in runInternal() local
237 if (ElTy->isSized()) Size = DL.getTypeStoreSize(ElTy); in runInternal()
DScalarEvolutionExpander.cpp404 Type *ElTy = OriginalElTy; in expandAddToGEP() local
424 if (ElTy->isSized()) { in expandAddToGEP()
425 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); in expandAddToGEP()
460 while (StructType *STy = dyn_cast<StructType>(ElTy)) { in expandAddToGEP()
476 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
487 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
493 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP()
494 ElTy = ATy->getElementType(); in expandAddToGEP()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DArgumentPromotion.cpp689 Type *ElTy = V->getType(); in DoPromotion() local
694 Type *IdxTy = (ElTy->isStructTy() ? in DoPromotion()
699 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II); in DoPromotion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp183 auto ElTy = VecTy->getElementType(); in getTypeName() local
185 return (Twine(getTypeName(ElTy, Signed)) + Twine(NumElements)).str(); in getTypeName()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngine.cpp96 Type *ElTy = GV->getType()->getElementType(); in Create() local
97 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create()
1102 Type *ElTy = GV->getType()->getElementType(); in EmitGlobalVariable() local
1103 size_t GVSize = (size_t)getTargetData()->getTypeAllocSize(ElTy); in EmitGlobalVariable()
/external/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp481 Type *ElTy = PTy->getElementType(); in getIncrmentFactorSCEV() local
483 SE->getSizeOfExpr(SE->getEffectiveSCEVType(IV.getType()), ElTy); in getIncrmentFactorSCEV()
1491 Type *ElTy = PTy->getElementType(); in replaceIV() local
1493 SE->getSizeOfExpr(SE->getEffectiveSCEVType(Inst->getType()), ElTy); in replaceIV()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp106 Type *ElTy = GV->getValueType(); in Create() local
107 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create()
1353 Type *ElTy = GV->getValueType(); in EmitGlobalVariable() local
1354 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy); in EmitGlobalVariable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp109 Type *ElTy = GV->getValueType(); in Create() local
110 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create()
1359 Type *ElTy = GV->getValueType(); in EmitGlobalVariable() local
1360 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy); in EmitGlobalVariable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp598 Type *ElTy = OpTy->getScalarType(); in getCmpOpsType() local
599 return VectorType::get(ElTy, VF); in getCmpOpsType()
/external/swiftshader/third_party/LLVM/include/llvm/
DIntrinsics.td68 LLVMType ElTy = elty;
73 LLVMType ElTy = elty;

12