Searched refs:IntIdxTy (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | Local.cpp | 25 Type *IntIdxTy = DL.getIndexType(GEP->getType()); in emitGEPOffset() local 54 AddOffset(ConstantInt::get(IntIdxTy, Size)); in emitGEPOffset() 60 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy()) in emitGEPOffset() 62 cast<VectorType>(IntIdxTy)->getElementCount(), Op); in emitGEPOffset() 65 if (Op->getType() != IntIdxTy) in emitGEPOffset() 66 Op = Builder->CreateIntCast(Op, IntIdxTy, true, Op->getName() + ".c"); in emitGEPOffset() 69 Value *Scale = Builder->CreateTypeSize(IntIdxTy->getScalarType(), TSize); in emitGEPOffset() 70 if (IntIdxTy->isVectorTy()) in emitGEPOffset() 72 cast<VectorType>(IntIdxTy)->getElementCount(), Scale); in emitGEPOffset() 78 return Result ? Result : Constant::getNullValue(IntIdxTy); in emitGEPOffset()
|
| H A D | ConstantFolding.cpp | 833 Type *IntIdxTy = DL.getIndexType(ResultTy); in CastGEPIndices() local 834 Type *IntIdxScalarTy = IntIdxTy->getScalarType(); in CastGEPIndices() 845 Ops[i]->getType()->isVectorTy() ? IntIdxTy : IntIdxScalarTy; in CastGEPIndices() 882 Type *IntIdxTy = DL.getIndexType(Ptr->getType()); in SymbolicallyEvaluateGEP() local 888 unsigned BitWidth = DL.getTypeSizeInBits(IntIdxTy); in SymbolicallyEvaluateGEP() 1418 Type *IntIdxTy = DL.getIndexType(Ptr->getType()); in ConstantFoldCastOperand() local 1419 if (Sub && Sub->getType() == IntIdxTy && in ConstantFoldCastOperand() 1423 ConstantExpr::getPtrToInt(Ptr, IntIdxTy), Sub->getOperand(1)); in ConstantFoldCastOperand()
|
| H A D | ScalarEvolution.cpp | 3748 Type *IntIdxTy = getEffectiveSCEVType(BaseExpr->getType()); in getGEPExpr() local 3776 const SCEV *FieldOffset = getOffsetOfExpr(IntIdxTy, STy, FieldNo); in getGEPExpr() 3792 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr() 3794 IndexExpr = getTruncateOrSignExtend(IndexExpr, IntIdxTy); in getGEPExpr()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 217 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(I.getType())); in visitPtr() local 219 Offset = APInt(IntIdxTy->getBitWidth(), 0); in visitPtr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 717 Type *IntIdxTy = DL->getIndexType(StorePtr->getType()); in processLoopStores() local 718 const SCEV *StoreSizeSCEV = SE->getConstant(IntIdxTy, StoreSize); in processLoopStores() 1030 Type *IntIdxTy = DL->getIndexType(DestPtr->getType()); in processLoopStridedStore() local 1036 Start = getStartForNegStride(Start, BECount, IntIdxTy, StoreSizeSCEV, SE); in processLoopStridedStore() 1070 getNumBytes(BECount, IntIdxTy, StoreSizeSCEV, CurLoop, DL, SE); in processLoopStridedStore() 1078 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore() 1103 Builder.getVoidTy(), Int8PtrTy, Int8PtrTy, IntIdxTy); in processLoopStridedStore() 1267 Type *IntIdxTy = Builder.getIntNTy(DL->getIndexSizeInBits(StrAS)); in processLoopStoreOfLoopLoad() local 1281 getStartForNegStride(StrStart, BECount, IntIdxTy, StoreSizeSCEV, SE); in processLoopStoreOfLoopLoad() 1338 getStartForNegStride(LdStart, BECount, IntIdxTy, StoreSizeSCEV, SE); in processLoopStoreOfLoopLoad() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 4626 VectorType *IntIdxTy = VectorType::getInteger(FltIdxTy); in UpgradeIntrinsicCall() local 4627 Args[2] = Builder.CreateBitCast(Args[2], IntIdxTy); in UpgradeIntrinsicCall()
|