/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; 101 std::vector<ElTy> ShuffledList(TheList); 121 std::vector<ElTy> Prefix(TheList.begin(), TheList.begin()+Mid); 122 std::vector<ElTy> Suffix(TheList.begin()+Mid, TheList.end()); 164 std::vector<ElTy> EmptyList; 183 std::vector<ElTy> TestLis [all...] |
/external/llvm/lib/IR/ |
H A D | Verifier.cpp | 2660 Type *ElTy = local 2662 Assert(ElTy, "Invalid indices for GEP pointer type!", &GEP); 2665 GEP.getResultElementType() == ElTy, 2666 "GEP is not of right type for indices!", &GEP, ElTy); 2752 Type *ElTy = LI.getType(); local 2760 Assert(ElTy->isIntegerTy() || ElTy->isPointerTy() || 2761 ElTy->isFloatingPointTy(), 2764 ElTy, &LI); 2765 checkAtomicMemAccessSize(M, ElTy, 2777 Type *ElTy = PTy->getElementType(); local 2836 Type *ElTy = PTy->getElementType(); local 2855 Type *ElTy = PTy->getElementType(); local [all...] |
H A D | ConstantFold.cpp | 117 Type *ElTy = PTy->getElementType(); local 118 while (ElTy != DPTy->getElementType()) { 119 if (StructType *STy = dyn_cast<StructType>(ElTy)) { 121 ElTy = STy->getElementType(0); 124 dyn_cast<SequentialType>(ElTy)) { 125 if (ElTy->isPointerTy()) break; // Can't index into pointers! 126 ElTy = STy->getElementType(); 133 if (ElTy == DPTy->getElementType()) 1286 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { argument 1308 if (isMaybeZeroSizedType(ElTy)) [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 157 Type *ElTy = StructTy->getElementType(i); local 158 if (!isDenselyPacked(ElTy, DL)) 162 StartPos += DL.getTypeAllocSizeInBits(ElTy); 809 Type *ElTy = V->getType(); local 815 Type *IdxTy = (ElTy->isStructTy() ? 820 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II);
|
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysisEvaluator.cpp | 293 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); local 294 if (ElTy->isSized()) Size = DL.getTypeStoreSize(ElTy);
|
H A D | ScalarEvolutionExpander.cpp | 393 Type *ElTy = OriginalElTy; local 413 if (ElTy->isSized()) { 414 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); 449 while (StructType *STy = dyn_cast<StructType>(ElTy)) { 465 ElTy = STy->getTypeAtIndex(ElIdx); 476 ElTy = STy->getTypeAtIndex(0u); 482 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) 483 ElTy = ATy->getElementType();
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 106 Type *ElTy = GV->getType()->getElementType(); local 107 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); 1358 Type *ElTy = GV->getType()->getElementType(); local 1359 size_t GVSize = (size_t)getDataLayout().getTypeAllocSize(ElTy);
|
/external/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 3233 QualType ElTy; // The element type of the std::initializer_list or the array. local 3236 S.isStdInitializerList(AdjustedParamType, &ElTy); 3244 if (ElTy.isNull()) { 3246 ElTy = S.Context.getAsArrayType(AdjustedParamType)->getElementType(); 3249 if (ElTy->isDependentType()) { 3251 if ((Result = DeduceTemplateArgumentByListElement(S, TemplateParams, ElTy,
|
H A D | SemaExprCXX.cpp | 3616 QualType ElTy = ArgTy; local 3618 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); 3621 if (ElTy->isVoidType()) 3625 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr);
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 1122 Type *ElTy = cast<PointerType>(InpTy->getScalarType())->getElementType(); local 1123 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1566 Type *ElTy = AT->getElementType(); local 1568 AllocaInst *NA = new AllocaInst(ElTy, nullptr, AI->getAlignment(),
|
/external/llvm/include/llvm/IR/ |
H A D | Instructions.h | 997 static Type *getGEPReturnType(Type *ElTy, Value *Ptr, argument 999 Type *PtrTy = PointerType::get(checkGEPType(getIndexedType(ElTy, IdxList)),
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 897 Type *ElTy = Cond->getType(); 904 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 2756 Type *ElTy = getTypeByID(Record[OpNum++]); local 2757 if (!ElTy) 2759 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy));
|
/external/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 2867 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); local 2868 const BuiltinType *BTy = ElTy->getAs<BuiltinType>();
|
H A D | CGBuiltin.cpp | 1253 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); local 1254 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);
|