Searched refs:ElTy (Results 1 - 16 of 16) sorted by relevance

/external/llvm/tools/bugpoint/
H A DListReducer.h28 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 DVerifier.cpp2660 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 DConstantFold.cpp117 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 DArgumentPromotion.cpp157 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 DAliasAnalysisEvaluator.cpp293 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); local
294 if (ElTy->isSized()) Size = DL.getTypeStoreSize(ElTy);
H A DScalarEvolutionExpander.cpp393 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 DExecutionEngine.cpp106 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 DSemaTemplateDeduction.cpp3233 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 DSemaExprCXX.cpp3616 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 DHexagonCommonGEP.cpp1122 Type *ElTy = cast<PointerType>(InpTy->getScalarType())->getElementType(); local
1123 NewInst = GetElementPtrInst::Create(ElTy, Input, A, "cgep", &*At);
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1566 Type *ElTy = AT->getElementType(); local
1568 AllocaInst *NA = new AllocaInst(ElTy, nullptr, AI->getAlignment(),
/external/llvm/include/llvm/IR/
H A DInstructions.h997 static Type *getGEPReturnType(Type *ElTy, Value *Ptr, argument
999 Type *PtrTy = PointerType::get(checkGEPType(getIndexedType(ElTy, IdxList)),
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp897 Type *ElTy = Cond->getType();
904 if (executeICMP_EQ(CondVal, CaseVal, ElTy).IntVal != 0) {
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2756 Type *ElTy = getTypeByID(Record[OpNum++]); local
2757 if (!ElTy)
2759 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy));
/external/clang/lib/CodeGen/
H A DCGExprScalar.cpp2867 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); local
2868 const BuiltinType *BTy = ElTy->getAs<BuiltinType>();
H A DCGBuiltin.cpp1253 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); local
1254 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);

Completed in 629 milliseconds