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/VMCore/
DVerifier.cpp1319 Type *ElTy = in visitGetElementPtrInst() local
1321 Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst()
1326 cast<PointerType>(GEP.getType())->getElementType() == ElTy, in visitGetElementPtrInst()
1327 "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst()
1343 Assert1(ElTy == cast<PointerType>(ElemPtr)->getElementType(), in visitGetElementPtrInst()
1352 Type *ElTy = PTy->getElementType(); in visitLoadInst() local
1353 Assert2(ElTy == LI.getType(), in visitLoadInst()
1354 "Load result type does not match pointer operand type!", &LI, ElTy); in visitLoadInst()
1376 High->getType() == ElTy, "Range types must match load type!", in visitLoadInst()
1389 Type *ElTy = PTy->getElementType(); in visitStoreInst() local
[all …]
DConstantFold.cpp111 Type *ElTy = PTy->getElementType(); in FoldBitCast() local
112 while (ElTy != DPTy->getElementType()) { in FoldBitCast()
113 if (StructType *STy = dyn_cast<StructType>(ElTy)) { in FoldBitCast()
115 ElTy = STy->getElementType(0); in FoldBitCast()
118 dyn_cast<SequentialType>(ElTy)) { in FoldBitCast()
119 if (ElTy->isPointerTy()) break; // Can't index into pointers! in FoldBitCast()
120 ElTy = STy->getElementType(); in FoldBitCast()
127 if (ElTy == DPTy->getElementType()) in FoldBitCast()
1221 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument
1241 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
/external/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp208 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); in runOnFunction() local
209 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy); in runOnFunction()
DScalarEvolutionExpander.cpp401 Type *ElTy = PTy->getElementType(); in expandAddToGEP() local
419 if (ElTy->isSized()) { in expandAddToGEP()
420 const SCEV *ElSize = SE.getSizeOfExpr(ElTy); in expandAddToGEP()
456 while (StructType *STy = dyn_cast<StructType>(ElTy)) { in expandAddToGEP()
472 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
488 ElTy = in expandAddToGEP()
501 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
507 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP()
508 ElTy = ATy->getElementType(); in expandAddToGEP()
/external/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/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp95 Type *ElTy = GV->getType()->getElementType(); in Create() local
96 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create()
1128 Type *ElTy = GV->getType()->getElementType(); in EmitGlobalVariable() local
1129 size_t GVSize = (size_t)getTargetData()->getTypeAllocSize(ElTy); in EmitGlobalVariable()
/external/llvm/include/llvm/
DIntrinsics.td68 LLVMType ElTy = elty;
73 LLVMType ElTy = elty;
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp648 Type *ElTy = Cond->getType(); in visitSwitchInst() local
655 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) { in visitSwitchInst()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1216 Type *ElTy = getTypeByID(Record[i]); in ParseConstants() local
1217 if (!ElTy) return Error("Invalid CE_GEP record"); in ParseConstants()
1218 Elts.push_back(ValueList.getConstantFwdRef(Record[i+1], ElTy)); in ParseConstants()
/external/clang/lib/Sema/
DSemaExprCXX.cpp2913 QualType ElTy = ArgTy; in CheckUnaryTypeTraitTypeCompleteness() local
2915 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness()
2918 if (ElTy->isVoidType()) in CheckUnaryTypeTraitTypeCompleteness()
2922 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr); in CheckUnaryTypeTraitTypeCompleteness()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1461 Type *ElTy = AT->getElementType(); in DoScalarReplacement() local
1463 AllocaInst *NA = new AllocaInst(ElTy, 0, AI->getAlignment(), in DoScalarReplacement()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2208 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); in EmitCompare() local
2209 const BuiltinType *BTy = ElTy->getAs<BuiltinType>(); in EmitCompare()
DCGBuiltin.cpp945 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); in EmitBuiltinExpr() local
946 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy); in EmitBuiltinExpr()