/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/IR/ |
H A D | Verifier.cpp | 2461 Type *ElTy = local 2463 Assert(ElTy, "Invalid indices for GEP pointer type!", &GEP); 2467 ->getElementType() == ElTy, 2468 "GEP is not of right type for indices!", &GEP, ElTy); 2543 Type *ElTy = LI.getType(); local 2551 if (!ElTy->isPointerTy()) { 2552 Assert(ElTy->isIntegerTy(), "atomic load operand must have integer type!", 2553 &LI, ElTy); 2554 unsigned Size = ElTy->getPrimitiveSizeInBits(); 2557 ElTy); 2570 Type *ElTy = PTy->getElementType(); local 2631 Type *ElTy = PTy->getElementType(); local 2652 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()) 1280 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { argument 1302 if (isMaybeZeroSizedType(ElTy)) [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 151 Type *ElTy = StructTy->getElementType(i); local 152 if (!isDenselyPacked(ElTy, DL)) 156 StartPos += DL.getTypeAllocSizeInBits(ElTy); 792 Type *ElTy = V->getType(); local 798 Type *IdxTy = (ElTy->isStructTy() ? 803 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II);
|
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysisEvaluator.cpp | 279 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); local 280 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy);
|
H A D | ScalarEvolutionExpander.cpp | 379 Type *ElTy = OriginalElTy; local 399 if (ElTy->isSized()) { 400 const SCEV *ElSize = SE.getSizeOfExpr(IntPtrTy, ElTy); 436 while (StructType *STy = dyn_cast<StructType>(ElTy)) { 452 ElTy = STy->getTypeAtIndex(ElIdx); 463 ElTy = STy->getTypeAtIndex(0u); 469 if (ArrayType *ATy = dyn_cast<ArrayType>(ElTy)) 470 ElTy = ATy->getElementType();
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 97 Type *ElTy = GV->getType()->getElementType(); local 98 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy); 1336 Type *ElTy = GV->getType()->getElementType(); local 1337 size_t GVSize = (size_t)getDataLayout()->getTypeAllocSize(ElTy);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 1565 Type *ElTy = AT->getElementType(); local 1567 AllocaInst *NA = new AllocaInst(ElTy, nullptr, AI->getAlignment(),
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 2315 Type *ElTy = getTypeByID(Record[OpNum++]); local 2316 if (!ElTy) 2318 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy));
|
/external/clang/lib/Sema/ |
H A D | SemaExprCXX.cpp | 3324 QualType ElTy = ArgTy; local 3326 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType(); 3329 if (ElTy->isVoidType()) 3333 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr);
|
/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/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 2860 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); local 2861 const BuiltinType *BTy = ElTy->getAs<BuiltinType>();
|
H A D | CGBuiltin.cpp | 1120 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); local 1121 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);
|