Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h32 Type *IntIdxTy = DL.getIndexType(GEP->getType()); variable
33 Value *Result = Constant::getNullValue(IntIdxTy);
40 unsigned IntPtrWidth = IntIdxTy->getScalarType()->getIntegerBitWidth();
59 Result = Builder->CreateAdd(Result, ConstantInt::get(IntIdxTy, Size),
65 if (IntIdxTy->isVectorTy() && !OpC->getType()->isVectorTy())
66 OpC = ConstantVector::getSplat(IntIdxTy->getVectorNumElements(), OpC);
68 Constant *Scale = ConstantInt::get(IntIdxTy, Size);
69 Constant *OC = ConstantExpr::getIntegerCast(OpC, IntIdxTy, true /*SExt*/);
78 if (IntIdxTy->isVectorTy() && !Op->getType()->isVectorTy())
79 Op = Builder->CreateVectorSplat(IntIdxTy->getVectorNumElements(), Op);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DPtrUseVisitor.h225 IntegerType *IntIdxTy = cast<IntegerType>(DL.getIndexType(I.getType())); in visitPtr() local
227 Offset = APInt(IntIdxTy->getBitWidth(), 0); in visitPtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp904 Type *IntIdxTy = DL->getIndexType(DestPtr->getType()); in processLoopStridedStore() local
909 Start = getStartForNegStride(Start, BECount, IntIdxTy, StoreSize, SE); in processLoopStridedStore()
937 getNumBytes(BECount, IntIdxTy, StoreSize, CurLoop, DL, SE); in processLoopStridedStore()
945 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore()
958 Int8PtrTy, Int8PtrTy, IntIdxTy); in processLoopStridedStore()
1025 Type *IntIdxTy = Builder.getIntNTy(DL->getIndexSizeInBits(StrAS)); in processLoopStoreOfLoopLoad() local
1029 StrStart = getStartForNegStride(StrStart, BECount, IntIdxTy, StoreSize, SE); in processLoopStoreOfLoopLoad()
1055 LdStart = getStartForNegStride(LdStart, BECount, IntIdxTy, StoreSize, SE); in processLoopStoreOfLoopLoad()
1077 getNumBytes(BECount, IntIdxTy, StoreSize, CurLoop, DL, SE); in processLoopStoreOfLoopLoad()
1080 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp769 Type *IntIdxTy = DL.getIndexType(ResultTy); in CastGEPIndices() local
770 Type *IntIdxScalarTy = IntIdxTy->getScalarType(); in CastGEPIndices()
781 ? IntIdxTy in CastGEPIndices()
842 Type *IntIdxTy = DL.getIndexType(Ptr->getType()); in SymbolicallyEvaluateGEP() local
853 assert((!CE || CE->getType() == IntIdxTy) && in SymbolicallyEvaluateGEP()
868 unsigned BitWidth = DL.getTypeSizeInBits(IntIdxTy); in SymbolicallyEvaluateGEP()
948 NewIdxs.push_back(ConstantInt::get(IntIdxTy, 0)); in SymbolicallyEvaluateGEP()
957 NewIdxs.push_back(ConstantInt::get(IntIdxTy, NewIdx)); in SymbolicallyEvaluateGEP()
DInstructionSimplify.cpp700 Type *IntIdxTy = DL.getIndexType(V->getType())->getScalarType(); in stripAndComputeConstantOffsets() local
701 APInt Offset = APInt::getNullValue(IntIdxTy->getIntegerBitWidth()); in stripAndComputeConstantOffsets()
706 IntIdxTy = DL.getIndexType(V->getType())->getScalarType(); in stripAndComputeConstantOffsets()
707 Offset = Offset.sextOrTrunc(IntIdxTy->getIntegerBitWidth()); in stripAndComputeConstantOffsets()
709 Constant *OffsetIntPtr = ConstantInt::get(IntIdxTy, Offset); in stripAndComputeConstantOffsets()
DScalarEvolutionExpander.cpp417 Type *IntIdxTy = DL.getIndexType(PTy); in expandAddToGEP() local
429 const SCEV *ElSize = SE.getSizeOfExpr(IntIdxTy, ElTy); in expandAddToGEP()
DScalarEvolution.cpp3498 Type *IntIdxTy = getEffectiveSCEVType(BaseExpr->getType()); in getGEPExpr() local
3507 const SCEV *TotalOffset = getZero(IntIdxTy); in getGEPExpr()
3517 const SCEV *FieldOffset = getOffsetOfExpr(IntIdxTy, STy, FieldNo); in getGEPExpr()
3528 const SCEV *ElementSize = getSizeOfExpr(IntIdxTy, CurTy); in getGEPExpr()
3530 IndexExpr = getTruncateOrSignExtend(IndexExpr, IntIdxTy); in getGEPExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp3618 VectorType *IntIdxTy = VectorType::getInteger(FltIdxTy); in UpgradeIntrinsicCall() local
3619 Args[2] = Builder.CreateBitCast(Args[2], IntIdxTy); in UpgradeIntrinsicCall()