Searched defs:ElTy (Results 1 - 11 of 11) sorted by relevance

/external/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp208 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); local
209 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy);
H A DScalarEvolutionExpander.cpp401 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 DArgumentPromotion.cpp687 Type *ElTy = V->getType(); local
692 Type *IdxTy = (ElTy->isStructTy() ?
697 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II);
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp95 Type *ElTy = GV->getType()->getElementType(); local
96 size_t GVSize = (size_t)TD.getTypeAllocSize(ElTy);
1137 Type *ElTy = GV->getType()->getElementType(); local
1138 size_t GVSize = (size_t)getDataLayout()->getTypeAllocSize(ElTy);
/external/llvm/lib/IR/
H A DConstantFold.cpp114 Type *ElTy = PTy->getElementType(); local
115 while (ElTy != DPTy->getElementType()) {
116 if (StructType *STy = dyn_cast<StructType>(ElTy)) {
118 ElTy = STy->getElementType(0);
121 dyn_cast<SequentialType>(ElTy)) {
122 if (ElTy->isPointerTy()) break; // Can't index into pointers!
123 ElTy = STy->getElementType();
130 if (ElTy == DPTy->getElementType())
1227 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { argument
1247 if (isMaybeZeroSizedType(ElTy))
[all...]
H A DVerifier.cpp1532 Type *ElTy = local
1534 Assert1(ElTy, "Invalid indices for GEP pointer type!", &GEP);
1538 == ElTy, "GEP is not of right type for indices!", &GEP, ElTy);
1563 Type *ElTy = PTy->getElementType(); local
1564 Assert2(ElTy == LI.getType(),
1565 "Load result type does not match pointer operand type!", &LI, ElTy);
1571 if (!ElTy->isPointerTy()) {
1572 Assert2(ElTy->isIntegerTy(),
1574 &LI, ElTy);
1637 Type *ElTy = PTy->getElementType(); local
1681 Type *ElTy = PTy->getElementType(); local
1705 Type *ElTy = PTy->getElementType(); local
[all...]
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp1017 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); local
1018 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);
H A DCGExprScalar.cpp2621 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); local
2622 const BuiltinType *BTy = ElTy->getAs<BuiltinType>();
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1249 Type *ElTy = getTypeByID(Record[i]); local
1250 if (!ElTy) return Error("Invalid CE_GEP record");
1251 Elts.push_back(ValueList.getConstantFwdRef(Record[i+1], ElTy));
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1555 Type *ElTy = AT->getElementType(); local
1557 AllocaInst *NA = new AllocaInst(ElTy, 0, AI->getAlignment(),
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp2941 QualType ElTy = ArgTy; local
2943 ElTy = S.Context.getAsArrayType(ArgTy)->getElementType();
2946 if (ElTy->isVoidType())
2950 Loc, ElTy, diag::err_incomplete_type_used_in_type_trait_expr);

Completed in 284 milliseconds