/external/llvm/tools/bugpoint/ |
D | ListReducer.h | 28 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/ |
D | Verifier.cpp | 1532 Type *ElTy = in visitGetElementPtrInst() local 1534 Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP); in visitGetElementPtrInst() 1538 == ElTy, "GEP is not of right type for indices!", &GEP, ElTy); in visitGetElementPtrInst() 1563 Type *ElTy = PTy->getElementType(); in visitLoadInst() local 1564 Assert2(ElTy == LI.getType(), in visitLoadInst() 1565 "Load result type does not match pointer operand type!", &LI, ElTy); in visitLoadInst() 1571 if (!ElTy->isPointerTy()) { in visitLoadInst() 1572 Assert2(ElTy->isIntegerTy(), in visitLoadInst() 1574 &LI, ElTy); in visitLoadInst() 1575 unsigned Size = ElTy->getPrimitiveSizeInBits(); in visitLoadInst() [all …]
|
D | ConstantFold.cpp | 114 Type *ElTy = PTy->getElementType(); in FoldBitCast() local 115 while (ElTy != DPTy->getElementType()) { in FoldBitCast() 116 if (StructType *STy = dyn_cast<StructType>(ElTy)) { in FoldBitCast() 118 ElTy = STy->getElementType(0); in FoldBitCast() 121 dyn_cast<SequentialType>(ElTy)) { in FoldBitCast() 122 if (ElTy->isPointerTy()) break; // Can't index into pointers! in FoldBitCast() 123 ElTy = STy->getElementType(); in FoldBitCast() 130 if (ElTy == DPTy->getElementType()) in FoldBitCast() 1227 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { in IdxCompare() argument 1247 if (isMaybeZeroSizedType(ElTy)) in IdxCompare()
|
/external/llvm/lib/Analysis/ |
D | AliasAnalysisEvaluator.cpp | 208 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); in runOnFunction() local 209 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy); in runOnFunction()
|
D | ScalarEvolutionExpander.cpp | 401 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/ |
D | ArgumentPromotion.cpp | 687 Type *ElTy = V->getType(); in DoPromotion() local 692 Type *IdxTy = (ElTy->isStructTy() ? in DoPromotion() 697 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II); in DoPromotion()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 95 Type *ElTy = GV->getType()->getElementType(); in Create() local 96 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); in Create() 1137 Type *ElTy = GV->getType()->getElementType(); in EmitGlobalVariable() local 1138 size_t GVSize = (size_t)getDataLayout()->getTypeAllocSize(ElTy); in EmitGlobalVariable()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 648 Type *ElTy = Cond->getType(); in visitSwitchInst() local 659 if (executeICMP_EQ(Val, CondVal, ElTy).IntVal != 0) { in visitSwitchInst() 669 if (executeICMP_EQ(Val, CondVal, ElTy).IntVal != 0) { in visitSwitchInst() 682 if (executeICMP_ULE(Low, CondVal, ElTy).IntVal != 0 && in visitSwitchInst() 683 executeICMP_ULE(CondVal, High, ElTy).IntVal != 0) { in visitSwitchInst()
|
/external/llvm/include/llvm/IR/ |
D | Intrinsics.td | 70 LLVMType ElTy = elty; 79 LLVMType ElTy = elty;
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 1249 Type *ElTy = getTypeByID(Record[i]); in ParseConstants() local 1250 if (!ElTy) return Error("Invalid CE_GEP record"); in ParseConstants() 1251 Elts.push_back(ValueList.getConstantFwdRef(Record[i+1], ElTy)); in ParseConstants()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 2941 QualType ElTy = ArgTy; in CheckUnaryTypeTraitTypeCompleteness() local 2943 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); in CheckUnaryTypeTraitTypeCompleteness() 2946 if (ElTy->isVoidType()) in CheckUnaryTypeTraitTypeCompleteness() 2950 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr); in CheckUnaryTypeTraitTypeCompleteness()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1555 Type *ElTy = AT->getElementType(); in DoScalarReplacement() local 1557 AllocaInst *NA = new AllocaInst(ElTy, 0, AI->getAlignment(), in DoScalarReplacement()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 2621 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); in EmitCompare() local 2622 const BuiltinType *BTy = ElTy->getAs<BuiltinType>(); in EmitCompare()
|
D | CGBuiltin.cpp | 1017 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); in EmitBuiltinExpr() local 1018 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy); in EmitBuiltinExpr()
|