Searched refs:CurTy (Results 1 – 10 of 10) sorted by relevance
31 PointerIntPair<Type *, 1> CurTy; variable39 I.CurTy.setPointer(Ty); in begin()40 I.CurTy.setInt(true); in begin()59 if (CurTy.getInt())60 return CurTy.getPointer()->getPointerTo(AddrSpace);61 return CurTy.getPointer();65 if (CurTy.getInt()) in getIndexedType()66 return CurTy.getPointer(); in getIndexedType()67 CompositeType *CT = cast<CompositeType>(CurTy.getPointer()); in getIndexedType()78 if (CurTy.getInt()) {[all …]
29 Type *CurTy; variable35 I.CurTy = Ty; in begin()41 I.CurTy = 0; in end()54 return CurTy;58 CompositeType *CT = cast<CompositeType>(CurTy); in getIndexedType()69 if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) {70 CurTy = CT->getTypeAtIndex(getOperand());72 CurTy = 0;
1204 Type *CurTy = Type::getInt32Ty(Context); in ParseConstants() local1231 V = UndefValue::get(CurTy); in ParseConstants()1238 CurTy = TypeList[Record[0]]; in ParseConstants()1241 V = Constant::getNullValue(CurTy); in ParseConstants()1244 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()1246 V = ConstantInt::get(CurTy, DecodeSignRotatedValue(Record[0])); in ParseConstants()1249 if (!CurTy->isIntegerTy() || Record.empty()) in ParseConstants()1258 APInt(cast<IntegerType>(CurTy)->getBitWidth(), in ParseConstants()1265 if (CurTy->isFloatTy()) in ParseConstants()1267 else if (CurTy->isDoubleTy()) in ParseConstants()[all …]
2873 Type *CurTy = Type::getInt32Ty(Context); in parseConstants() local2903 V = UndefValue::get(CurTy); in parseConstants()2912 CurTy = TypeList[Record[0]]; in parseConstants()2915 V = Constant::getNullValue(CurTy); in parseConstants()2918 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()2920 V = ConstantInt::get(CurTy, decodeSignRotatedValue(Record[0])); in parseConstants()2923 if (!CurTy->isIntegerTy() || Record.empty()) in parseConstants()2927 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth()); in parseConstants()2935 if (CurTy->isHalfTy()) in parseConstants()2938 else if (CurTy->isFloatTy()) in parseConstants()[all …]
1403 Type *CurTy = nullptr; in visitGetElementPtrInst() local1417 if (J > 1 && CurTy->isStructTy()) in visitGetElementPtrInst()1435 CurTy = Op1->getSourceElementType(); in visitGetElementPtrInst()1436 } else if (CompositeType *CT = dyn_cast<CompositeType>(CurTy)) { in visitGetElementPtrInst()1437 CurTy = CT->getTypeAtIndex(Op1->getOperand(J)); in visitGetElementPtrInst()1439 CurTy = nullptr; in visitGetElementPtrInst()
4085 Type *CurTy = UI->getType(); in hasSameExtUse() local4087 if (CurTy == ExtTy) in hasSameExtUse()4107 CurTy->getScalarType()->getIntegerBitWidth()) { in hasSameExtUse()4108 NarrowTy = CurTy; in hasSameExtUse()4112 LargeTy = CurTy; in hasSameExtUse()
243 const Type *CurTy = Qs.strip(Cur); in getSplitDesugaredType() local244 switch (CurTy->getTypeClass()) { in getSplitDesugaredType()248 const Class##Type *Ty = cast<Class##Type>(CurTy); \ in getSplitDesugaredType()
2697 QualType CurTy = Element.Base->getType(); in ComputeThisOffset() local2699 *CurRD = CurTy->getAsCXXRecordDecl(); in ComputeThisOffset()
2989 Type *CurTy = PointerType::getUnqual(PointeeType); in getGEPExpr() local2992 if (StructType *STy = dyn_cast<StructType>(CurTy)) { in getGEPExpr()3002 CurTy = STy->getTypeAtIndex(Index); in getGEPExpr()3005 CurTy = cast<SequentialType>(CurTy)->getElementType(); in getGEPExpr()3007 const SCEV *ElementSize = getSizeOfExpr(IntPtrTy, CurTy); in getGEPExpr()
1303 Type *CurTy = cast<Instruction>(VL[j])->getOperand(0)->getType(); in buildTree_rec() local1304 if (Ty0 != CurTy) { in buildTree_rec()