Home
last modified time | relevance | path

Searched refs:CurTy (Results 1 – 8 of 8) sorted by relevance

/external/llvm/include/llvm/IR/
DGetElementPtrTypeIterator.h31 PointerIntPair<Type *, 1> CurTy; variable
38 I.CurTy.setPointer(Ty); in begin()
45 I.CurTy.setPointer(Ty); in begin()
46 I.CurTy.setInt(true); in begin()
65 if (CurTy.getInt())
66 return CurTy.getPointer()->getPointerTo(AddrSpace);
67 return CurTy.getPointer();
71 if (CurTy.getInt()) in getIndexedType()
72 return CurTy.getPointer(); in getIndexedType()
73 CompositeType *CT = cast<CompositeType>(CurTy.getPointer()); in getIndexedType()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2525 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local
2554 V = UndefValue::get(CurTy); in parseConstants()
2561 CurTy = TypeList[Record[0]]; in parseConstants()
2564 V = Constant::getNullValue(CurTy); in parseConstants()
2567 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2569 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()
2572 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()
2576 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()
2584 if (CurTy->isHalfTy()) in parseConstants()
2587 else if (CurTy->isFloatTy()) in parseConstants()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1408 Type *CurTy = Op1->getOperand(0)->getType()->getScalarType(); in visitGetElementPtrInst() local
1422 if (J > 1 && CurTy->isStructTy()) in visitGetElementPtrInst()
1439 if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()
1440 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst()
1442 CurTy = nullptr; in visitGetElementPtrInst()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4001 Type *CurTy = UI->getType(); in hasSameExtUse() local
4003 if (CurTy == ExtTy) in hasSameExtUse()
4023 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()
4024 NarrowTy = CurTy; in hasSameExtUse()
4028 LargeTy = CurTy; in hasSameExtUse()
/external/clang/lib/AST/
DType.cpp243 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local
244 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()
248 const Class##Type *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
DVTableBuilder.cpp2696 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local
2698 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2952 Type *CurTy = PointerType::getUnqual(PointeeType); in getGEPExpr() local
2955 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()
2965 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()
2968 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr()
2970 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, CurTy); in getGEPExpr()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1323 Type *CurTy = cast<Instruction>(VL[j])->getOperand(0)->getType(); in buildTree_rec() local
1324 if (Ty0 != CurTy) { in buildTree_rec()