/external/llvm/tools/bugpoint/ |
H A 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) { 53 std::vector<ElTy> empty; 96 std::vector<ElTy> ShuffledList(TheList); 116 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin()+Mid); 117 std::vector<ElTy> Suffix(TheList.begin()+Mid, TheList.end()); 159 std::vector<ElTy> EmptyList; 177 std::vector<ElTy> TestLis [all...] |
/external/llvm/lib/VMCore/ |
H A D | Verifier.cpp | 1336 Type *ElTy = local 1338 Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP); 1343 cast<PointerType>(GEP.getType())->getElementType() == ElTy, 1344 "GEP is not of right type for indices!", &GEP, ElTy); 1360 Assert1(ElTy == cast<PointerType>(ElemPtr)->getElementType(), 1373 Type *ElTy = PTy->getElementType(); local 1374 Assert2(ElTy == LI.getType(), 1375 "Load result type does not match pointer operand type!", &LI, ElTy); 1381 if (!ElTy->isPointerTy()) { 1382 Assert2(ElTy 1447 Type *ElTy = PTy->getElementType(); local 1491 Type *ElTy = PTy->getElementType(); local 1515 Type *ElTy = PTy->getElementType(); local [all...] |
H A D | ConstantFold.cpp | 110 Type *ElTy = PTy->getElementType(); local 111 while (ElTy != DPTy->getElementType()) { 112 if (StructType *STy = dyn_cast<StructType>(ElTy)) { 114 ElTy = STy->getElementType(0); 117 dyn_cast<SequentialType>(ElTy)) { 118 if (ElTy->isPointerTy()) break; // Can't index into pointers! 119 ElTy = STy->getElementType(); 126 if (ElTy == DPTy->getElementType()) 1229 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { argument 1249 if (isMaybeZeroSizedType(ElTy)) [all...] |
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysisEvaluator.cpp | 208 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); local 209 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy);
|
H A D | ScalarEvolutionExpander.cpp | 401 Type *ElTy = PTy->getElementType(); local 419 if (ElTy->isSized()) { 420 const SCEV *ElSize = SE.getSizeOfExpr(ElTy); 456 while (StructType *STy = dyn_cast<StructType>(ElTy)) { 472 ElTy = STy->getTypeAtIndex(ElIdx); 488 ElTy = 501 ElTy = STy->getTypeAtIndex(0u); 507 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) 508 ElTy = ATy->getElementType();
|
/external/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 685 Type *ElTy = V->getType(); local 690 Type *IdxTy = (ElTy->isStructTy() ? 695 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II);
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 95 Type *ElTy = GV->getType()->getElementType(); local 96 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); 1129 Type *ElTy = GV->getType()->getElementType(); local 1130 size_t GVSize = (size_t)getTargetData()->getTypeAllocSize(ElTy);
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 648 Type *ElTy = Cond->getType(); 659 if (executeICMP_EQ(Val, CondVal, ElTy).IntVal != 0) { 669 if (executeICMP_EQ(Val, CondVal, ElTy).IntVal != 0) { 682 if (executeICMP_ULE(Low, CondVal, ElTy).IntVal != 0 && 683 executeICMP_ULE(CondVal, High, ElTy).IntVal != 0) {
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1555 Type *ElTy = AT->getElementType(); local 1557 AllocaInst *NA = new AllocaInst(ElTy, 0, AI->getAlignment(),
|
/external/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 2956 QualType ElTy = ArgTy; local 2958 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); 2961 if (ElTy->isVoidType()) 2965 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr);
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 1171 Type *ElTy = getTypeByID(Record[i]); local 1172 if (!ElTy) return Error("Invalid CE_GEP record"); 1173 Elts.push_back(ValueList.getConstantFwdRef(Record[i+1], ElTy));
|
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 984 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); local 985 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);
|
H A D | CGExprScalar.cpp | 2206 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); local 2207 const BuiltinType *BTy = ElTy->getAs<BuiltinType>();
|