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/Analysis/
DAliasAnalysisEvaluator.cpp210 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); in runOnFunction() local
211 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy); in runOnFunction()
DScalarEvolutionExpander.cpp371 Type *ElTy = PTy->getElementType(); in expandAddToGEP() local
389 if (ElTy->isSized()) { in expandAddToGEP()
390 const SCEV *ElSize = SE.getSizeOfExpr(ElTy); in expandAddToGEP()
426 while (StructType *STy = dyn_cast<StructType>(ElTy)) { in expandAddToGEP()
442 ElTy = STy->getTypeAtIndex(ElIdx); in expandAddToGEP()
458 ElTy = in expandAddToGEP()
471 ElTy = STy->getTypeAtIndex(0u); in expandAddToGEP()
477 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) in expandAddToGEP()
478 ElTy = ATy->getElementType(); in expandAddToGEP()
/external/llvm/lib/VMCore/
DVerifier.cpp1278 Type *ElTy = in visitGetElementPtrInst() local
1281 Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst()
1283 cast<PointerType>(GEP.getType())->getElementType() == ElTy, in visitGetElementPtrInst()
1284 "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst()
1291 Type *ElTy = PTy->getElementType(); in visitLoadInst() local
1292 Assert2(ElTy == LI.getType(), in visitLoadInst()
1293 "Load result type does not match pointer operand type!", &LI, ElTy); in visitLoadInst()
1300 Type *ElTy = PTy->getElementType(); in visitStoreInst() local
1301 Assert2(ElTy == SI.getOperand(0)->getType(), in visitStoreInst()
1303 &SI, ElTy); in visitStoreInst()
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()
1486 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument
1506 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
/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.cpp96 Type *ElTy = GV->getType()->getElementType(); in Create() local
97 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create()
1104 Type *ElTy = GV->getType()->getElementType(); in EmitGlobalVariable() local
1105 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.cpp666 Type *ElTy = I.getOperand(0)->getType(); in visitSwitchInst() local
671 if (executeICMP_EQ(CondVal, getOperandValue(I.getOperand(i), SF), ElTy) in visitSwitchInst()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1350 Type *ElTy = getTypeByID(Record[i]); in ParseConstants() local
1351 if (!ElTy) return Error("Invalid CE_GEP record"); in ParseConstants()
1352 Elts.push_back(ValueList.getConstantFwdRef(Record[i+1], ElTy)); in ParseConstants()
/external/clang/lib/Sema/
DSemaExprCXX.cpp2628 QualType ElTy = ArgTy; in CheckUnaryTypeTraitTypeCompleteness() local
2630 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness()
2633 if (ElTy->isVoidType()) in CheckUnaryTypeTraitTypeCompleteness()
2637 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr); in CheckUnaryTypeTraitTypeCompleteness()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1609 Type *ElTy = AT->getElementType(); in DoScalarReplacement() local
1611 AllocaInst *NA = new AllocaInst(ElTy, 0, AI->getAlignment(), in DoScalarReplacement()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2135 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); in EmitCompare() local
2136 const BuiltinType *BTy = ElTy->getAs<BuiltinType>(); in EmitCompare()
DCGBuiltin.cpp937 llvm::Type *ElTy = in EmitBuiltinExpr() local
940 Builder.CreateStore(llvm::Constant::getNullValue(ElTy), Ptr); in EmitBuiltinExpr()