Home
last modified time | relevance | path

Searched refs:IdxTy (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp78 Type *IdxTy = Type::getInt32Ty(Ctx); in createOrderFileData() local
90 BufferIdx = new GlobalVariable(M, IdxTy, false, GlobalValue::LinkOnceODRLinkage, in createOrderFileData()
91 Constant::getNullValue(IdxTy), IndexName); in createOrderFileData()
/external/llvm/lib/Transforms/Utils/
DEvaluator.cpp247 IntegerType *IdxTy = IntegerType::get(NewTy->getContext(), 32); in EvaluateBlock() local
248 Constant *IdxZero = ConstantInt::get(IdxTy, 0, false); in EvaluateBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp194 IntegerType *IdxTy = IntegerType::get(Ty->getContext(), 32); in evaluateBitcastFromPtr() local
195 Constant *IdxZero = ConstantInt::get(IdxTy, 0, false); in evaluateBitcastFromPtr()
/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp834 Type *IdxTy = (ElTy->isStructTy() ? in DoPromotion() local
837 Ops.push_back(ConstantInt::get(IdxTy, II)); in DoPromotion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp290 Type *IdxTy = in doPromotion() local
293 Ops.push_back(ConstantInt::get(IdxTy, II)); in doPromotion()
/external/llvm/lib/IR/
DConstantFold.cpp2133 Type *IdxTy = Combined->getType(); in ConstantFoldGetElementPtrImpl() local
2134 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtrImpl()
2136 std::max(IdxTy->getIntegerBitWidth(), in ConstantFoldGetElementPtrImpl()
2141 Type::getIntNTy(IdxTy->getContext(), CommonExtendedWidth); in ConstantFoldGetElementPtrImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp2291 Type *IdxTy = Combined->getType(); in ConstantFoldGetElementPtr() local
2292 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtr()
2294 std::max(IdxTy->getIntegerBitWidth(), in ConstantFoldGetElementPtr()
2299 Type::getIntNTy(IdxTy->getContext(), CommonExtendedWidth); in ConstantFoldGetElementPtr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp199 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() local
200 Value *NullIdx = Constant::getNullValue(IdxTy); in simplifyAllocaArraySize()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2766 Type *IdxTy = Legal->getWidestInductionType(); in getOrCreateTripCount() local
2774 IdxTy->getPrimitiveSizeInBits()) in getOrCreateTripCount()
2775 BackedgeTakenCount = SE->getTruncateOrNoop(BackedgeTakenCount, IdxTy); in getOrCreateTripCount()
2776 BackedgeTakenCount = SE->getNoopOrZeroExtend(BackedgeTakenCount, IdxTy); in getOrCreateTripCount()
2794 CastInst::CreatePointerCast(TripCount, IdxTy, "exitcount.ptrcnt.to.int", in getOrCreateTripCount()
2996 Type *IdxTy = Legal->getWidestInductionType(); in createEmptyLoop() local
3024 Value *StartIdx = ConstantInt::get(IdxTy, 0); in createEmptyLoop()
3047 Constant *Step = ConstantInt::get(IdxTy, VF * UF); in createEmptyLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp955 const LLT IdxTy = Query.Types[IdxTypeIdx]; in AMDGPULegalizerInfo() local
960 IdxTy.getSizeInBits() == 32; in AMDGPULegalizerInfo()
2262 LLT IdxTy = LLT::scalar(DstTy.getSizeInBits()); in legalizeImplicitArgPtr() local
2275 B.buildPtrAdd(DstReg, KernargPtrReg, B.buildConstant(IdxTy, Offset).getReg(0)); in legalizeImplicitArgPtr()
DAMDGPUISelLowering.cpp1386 auto IdxTy = getVectorIdxTy(DAG.getDataLayout()); in splitVector() local
1388 DAG.getConstant(0, DL, IdxTy)); in splitVector()
1391 HiVT, N, DAG.getConstant(LoVT.getVectorNumElements(), DL, IdxTy)); in splitVector()
1436 auto IdxTy = getVectorIdxTy(DAG.getDataLayout()); in SplitVectorLoad() local
1443 DAG.getConstant(0, SL, IdxTy)); in SplitVectorLoad()
1447 DAG.getConstant(LoVT.getVectorNumElements(), SL, IdxTy)); in SplitVectorLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp212 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() local
213 Value *NullIdx = Constant::getNullValue(IdxTy); in simplifyAllocaArraySize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2573 Type *IdxTy = Legal->getWidestInductionType(); in getOrCreateTripCount() local
2574 assert(IdxTy && "No type for induction"); in getOrCreateTripCount()
2582 IdxTy->getPrimitiveSizeInBits()) in getOrCreateTripCount()
2583 BackedgeTakenCount = SE->getTruncateOrNoop(BackedgeTakenCount, IdxTy); in getOrCreateTripCount()
2584 BackedgeTakenCount = SE->getNoopOrZeroExtend(BackedgeTakenCount, IdxTy); in getOrCreateTripCount()
2602 CastInst::CreatePointerCast(TripCount, IdxTy, "exitcount.ptrcnt.to.int", in getOrCreateTripCount()
2958 Type *IdxTy = Legal->getWidestInductionType(); in createVectorizedLoopSkeleton() local
2999 Value *StartIdx = ConstantInt::get(IdxTy, 0); in createVectorizedLoopSkeleton()
3021 Constant *Step = ConstantInt::get(IdxTy, VF * UF); in createVectorizedLoopSkeleton()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1309 DIE *IdxTy = getIndexTyDie(); in constructArrayTypeDIE() local
1317 constructSubrangeDIE(Buffer, cast<DISubrange>(Element), IdxTy); in constructArrayTypeDIE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1407 DIE *IdxTy = getIndexTyDie(); in constructArrayTypeDIE() local
1415 constructSubrangeDIE(Buffer, cast<DISubrange>(Element), IdxTy); in constructArrayTypeDIE()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2656 Type *IdxTy = getTypeByID(Record[2]); in parseConstants() local
2657 if (!IdxTy) in parseConstants()
2659 Op1 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
2677 Type *IdxTy = getTypeByID(Record[2]); in parseConstants() local
2678 if (!IdxTy) in parseConstants()
2680 Op2 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp3158 Type *IdxTy = getTypeByID(Record[2]); in parseConstants() local
3159 if (!IdxTy) in parseConstants()
3161 Op1 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
3179 Type *IdxTy = getTypeByID(Record[2]); in parseConstants() local
3180 if (!IdxTy) in parseConstants()
3182 Op2 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp373 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in PromoteIntRes_BITCAST() local
375 DAG.getConstant(0, dl, IdxTy)); in PromoteIntRes_BITCAST()
1051 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in PromoteIntRes_TRUNCATE() local
1052 SDValue ZeroIdx = DAG.getConstant(0, dl, IdxTy); in PromoteIntRes_TRUNCATE()
DDAGCombiner.cpp17433 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in createBuildVecShuffle() local
17434 SDValue ZeroIdx = DAG.getConstant(0, DL, IdxTy); in createBuildVecShuffle()
17468 DAG.getConstant(NumElems, DL, IdxTy)); in createBuildVecShuffle()
17709 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in reduceBuildVecToShuffle() local
17728 DAG.getConstant(SplitSize, DL, IdxTy)); in reduceBuildVecToShuffle()
17730 DAG.getConstant(0, DL, IdxTy)); in reduceBuildVecToShuffle()
18582 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitEXTRACT_SUBVECTOR() local
18583 SDValue NewIndexC = DAG.getConstant(NewExtIdx, DL, IdxTy); in visitEXTRACT_SUBVECTOR()
19552 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitSCALAR_TO_VECTOR() local
19553 SDValue ZeroIdx = DAG.getConstant(0, SDLoc(N), IdxTy); in visitSCALAR_TO_VECTOR()
DLegalizeVectorTypes.cpp3880 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in convertMask() local
3881 SDValue ZeroIdx = DAG.getConstant(0, SDLoc(Mask), IdxTy); in convertMask()
DSelectionDAGBuilder.cpp3914 MVT IdxTy = MVT::getIntegerVT(IdxSize); in visitGetElementPtr() local
3929 DAG.getConstant(Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorWidth)) : in visitGetElementPtr()
3930 DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr()
/external/clang/lib/CodeGen/
DCGExpr.cpp2873 QualType IdxTy = E->getIdx()->getType(); in EmitArraySubscriptExpr() local
2874 bool IdxSigned = IdxTy->isSignedIntegerOrEnumerationType(); in EmitArraySubscriptExpr()
2877 EmitBoundsCheck(E, E->getBase(), Idx, IdxTy, Accessed); in EmitArraySubscriptExpr()
DCGExprScalar.cpp1141 QualType IdxTy = E->getIdx()->getType(); in VisitArraySubscriptExpr() local
1144 CGF.EmitBoundsCheck(E, E->getBase(), Idx, IdxTy, /*Accessed*/true); in VisitArraySubscriptExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp4203 LLT IdxTy = LLT::scalar(32); in lowerShuffleVector() local
4241 auto IdxK = MIRBuilder.buildConstant(IdxTy, ExtractIdx); in lowerShuffleVector()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7099 EVT IdxTy = TLI->getVectorIdxTy(getDataLayout()); in ExtractVectorElements() local
7103 Op, getConstant(i, SL, IdxTy))); in ExtractVectorElements()

12