Home
last modified time | relevance | path

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

/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()
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/lib/IR/
DVerifier.cpp1861 Type *ElTy = in visitGetElementPtrInst() local
1863 Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst()
1867 == ElTy, "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst()
1892 Type *ElTy = PTy->getElementType(); in visitLoadInst() local
1893 Assert2(ElTy == LI.getType(), in visitLoadInst()
1894 "Load result type does not match pointer operand type!", &LI, ElTy); in visitLoadInst()
1900 if (!ElTy->isPointerTy()) { in visitLoadInst()
1901 Assert2(ElTy->isIntegerTy(), in visitLoadInst()
1903 &LI, ElTy); in visitLoadInst()
1904 unsigned Size = ElTy->getPrimitiveSizeInBits(); 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()
1242 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument
1262 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
/external/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp279 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); in runOnFunction() local
280 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy); in runOnFunction()
DScalarEvolutionExpander.cpp396 Type *ElTy = PTy->getElementType(); in expandAddToGEP() local
418 if (ElTy->isSized()) { in expandAddToGEP()
419 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); in expandAddToGEP()
455 while (StructType *STy = dyn_cast<StructType>(ElTy)) { in expandAddToGEP()
471 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
487 ElTy = in expandAddToGEP()
500 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
506 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP()
507 ElTy = ATy->getElementType(); in expandAddToGEP()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp698 Type *ElTy = V->getType(); in DoPromotion() local
703 Type *IdxTy = (ElTy->isStructTy() ? in DoPromotion()
708 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II); in DoPromotion()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp101 Type *ElTy = GV->getType()->getElementType(); in Create() local
102 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create()
1340 Type *ElTy = GV->getType()->getElementType(); in EmitGlobalVariable() local
1341 size_t GVSize = (size_t)getDataLayout()->getTypeAllocSize(ElTy); in EmitGlobalVariable()
/external/llvm/include/llvm/IR/
DIntrinsics.td86 LLVMType ElTy = elty;
95 LLVMType ElTy = elty;
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1412 Type *ElTy = getTypeByID(Record[i]); in ParseConstants() local
1413 if (!ElTy) in ParseConstants()
1415 Elts.push_back(ValueList.getConstantFwdRef(Record[i+1], ElTy)); in ParseConstants()
/external/clang/lib/Sema/
DSemaExprCXX.cpp3179 QualType ElTy = ArgTy; in CheckUnaryTypeTraitTypeCompleteness() local
3181 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness()
3184 if (ElTy->isVoidType()) in CheckUnaryTypeTraitTypeCompleteness()
3188 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr); in CheckUnaryTypeTraitTypeCompleteness()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1553 Type *ElTy = AT->getElementType(); in DoScalarReplacement() local
1555 AllocaInst *NA = new AllocaInst(ElTy, nullptr, AI->getAlignment(), in DoScalarReplacement()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp896 Type *ElTy = Cond->getType(); in visitSwitchInst() local
903 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2720 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); in EmitCompare() local
2721 const BuiltinType *BTy = ElTy->getAs<BuiltinType>(); in EmitCompare()
DCGBuiltin.cpp1031 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); in EmitBuiltinExpr() local
1032 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy); in EmitBuiltinExpr()