Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp114 LLT IdxTy = LLT::scalar(PtrTy.getSizeInBits()); in AMDGPULegalizerInfo() local
116 setAction({G_GEP, 1, IdxTy}, Legal); in AMDGPULegalizerInfo()
167 const LLT &IdxTy = Query.Types[2]; in AMDGPULegalizerInfo() local
170 IdxTy.getSizeInBits() == 32; in AMDGPULegalizerInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp639 LLT IdxTy = getMRI()->getType(Idx); in buildInsertVectorElement() local
641 assert(IdxTy.isScalar() && "invalid operand type"); in buildInsertVectorElement()
659 LLT IdxTy = getMRI()->getType(Idx); in buildExtractVectorElement() local
662 assert(IdxTy.isScalar() && "invalid operand type"); in buildExtractVectorElement()
/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-7.0/llvm/lib/Transforms/Utils/
DEvaluator.cpp349 IntegerType *IdxTy = IntegerType::get(NewTy->getContext(), 32); in EvaluateBlock() local
350 Constant *IdxZero = ConstantInt::get(IdxTy, 0, false); in EvaluateBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp284 Type *IdxTy = in doPromotion() local
287 Ops.push_back(ConstantInt::get(IdxTy, II)); in doPromotion()
/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/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-7.0/llvm/lib/IR/
DConstantFold.cpp2170 Type *IdxTy = Combined->getType(); in ConstantFoldGetElementPtr() local
2171 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtr()
2173 std::max(IdxTy->getIntegerBitWidth(), in ConstantFoldGetElementPtr()
2178 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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp214 Type *IdxTy = IC.getDataLayout().getIntPtrType(AI.getType()); in simplifyAllocaArraySize() local
215 Value *NullIdx = Constant::getNullValue(IdxTy); in simplifyAllocaArraySize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2604 Type *IdxTy = Legal->getWidestInductionType(); in getOrCreateTripCount() local
2612 IdxTy->getPrimitiveSizeInBits()) in getOrCreateTripCount()
2613 BackedgeTakenCount = SE->getTruncateOrNoop(BackedgeTakenCount, IdxTy); in getOrCreateTripCount()
2614 BackedgeTakenCount = SE->getNoopOrZeroExtend(BackedgeTakenCount, IdxTy); in getOrCreateTripCount()
2632 CastInst::CreatePointerCast(TripCount, IdxTy, "exitcount.ptrcnt.to.int", in getOrCreateTripCount()
2843 Type *IdxTy = Legal->getWidestInductionType(); in createVectorizedLoopSkeleton() local
2871 Value *StartIdx = ConstantInt::get(IdxTy, 0); in createVectorizedLoopSkeleton()
2893 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-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2434 Type *IdxTy = getTypeByID(Record[2]); in parseConstants() local
2435 if (!IdxTy) in parseConstants()
2437 Op1 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
2455 Type *IdxTy = getTypeByID(Record[2]); in parseConstants() local
2456 if (!IdxTy) in parseConstants()
2458 Op2 = ValueList.getConstantFwdRef(Record[3], IdxTy); in parseConstants()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp1452 DIE *IdxTy = getIndexTyDie(); in constructArrayTypeDIE() local
1460 constructSubrangeDIE(Buffer, cast<DISubrange>(Element), IdxTy); in constructArrayTypeDIE()
/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/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-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp15555 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in createBuildVecShuffle() local
15556 SDValue ZeroIdx = DAG.getConstant(0, DL, IdxTy); in createBuildVecShuffle()
15595 DAG.getConstant(NumElems, DL, IdxTy)); in createBuildVecShuffle()
15755 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in reduceBuildVecToShuffle() local
15774 DAG.getConstant(SplitSize, DL, IdxTy)); in reduceBuildVecToShuffle()
15776 DAG.getConstant(0, DL, IdxTy)); in reduceBuildVecToShuffle()
17299 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in visitSCALAR_TO_VECTOR() local
17300 SDValue ZeroIdx = DAG.getConstant(0, SDLoc(N), IdxTy); in visitSCALAR_TO_VECTOR()
DLegalizeIntegerTypes.cpp728 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in PromoteIntRes_TRUNCATE() local
729 SDValue ZeroIdx = DAG.getConstant(0, dl, IdxTy); in PromoteIntRes_TRUNCATE()
DLegalizeVectorTypes.cpp3140 MVT IdxTy = TLI.getVectorIdxTy(DAG.getDataLayout()); in convertMask() local
3141 SDValue ZeroIdx = DAG.getConstant(0, SDLoc(Mask), IdxTy); in convertMask()
DSelectionDAGBuilder.cpp3501 MVT IdxTy = MVT::getIntegerVT(IdxSize); in visitGetElementPtr() local
3517 DAG.getConstant(Offs, dl, EVT::getVectorVT(Context, IdxTy, VectorWidth)) : in visitGetElementPtr()
3518 DAG.getConstant(Offs, dl, IdxTy); in visitGetElementPtr()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7099 EVT IdxTy = TLI->getVectorIdxTy(getDataLayout()); in ExtractVectorElements() local
7103 Op, getConstant(i, SL, IdxTy))); in ExtractVectorElements()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMInstrNEON.td6282 ValueType Ty, Operand IdxTy>
6283 : NVDupLane<op19_16, 0, (outs DPR:$Vd), (ins DPR:$Vm, IdxTy:$lane),
6288 ValueType ResTy, ValueType OpTy, Operand IdxTy>
6289 : NVDupLane<op19_16, 1, (outs QPR:$Vd), (ins DPR:$Vm, IdxTy:$lane),
/external/llvm/lib/Target/ARM/
DARMInstrNEON.td6007 ValueType Ty, Operand IdxTy>
6008 : NVDupLane<op19_16, 0, (outs DPR:$Vd), (ins DPR:$Vm, IdxTy:$lane),
6013 ValueType ResTy, ValueType OpTy, Operand IdxTy>
6014 : NVDupLane<op19_16, 1, (outs QPR:$Vd), (ins DPR:$Vm, IdxTy:$lane),

12