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

/external/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp279 Type *ElTy = cast<PointerType>((*V)->getType())->getElementType(); local
280 if (ElTy->isSized()) Size = AA.getTypeStoreSize(ElTy);
H A DScalarEvolutionExpander.cpp379 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/Transforms/IPO/
H A DArgumentPromotion.cpp151 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/ExecutionEngine/
H A DExecutionEngine.cpp97 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/IR/
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())
1280 static int IdxCompare(Constant *C1, Constant *C2, Type *ElTy) { argument
1302 if (isMaybeZeroSizedType(ElTy))
[all...]
H A DVerifier.cpp2461 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...]
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp1565 Type *ElTy = AT->getElementType(); local
1567 AllocaInst *NA = new AllocaInst(ElTy, nullptr, AI->getAlignment(),
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2315 Type *ElTy = getTypeByID(Record[OpNum++]); local
2316 if (!ElTy)
2318 Elts.push_back(ValueList.getConstantFwdRef(Record[OpNum++], ElTy));
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp1120 QualType ElTy = E->getArg(0)->getType()->getPointeeType(); local
1121 CharUnits StoreSize = getContext().getTypeSizeInChars(ElTy);
H A DCGExprScalar.cpp2860 QualType ElTy = LHSTy->getAs<VectorType>()->getElementType(); local
2861 const BuiltinType *BTy = ElTy->getAs<BuiltinType>();
/external/clang/lib/Sema/
H A DSemaExprCXX.cpp3324 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);

Completed in 376 milliseconds