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