Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DScalarReplAggregates.cpp136 Type *&IdxTy);
1893 Type *&IdxTy) { in FindElementAndOffset() argument
1900 IdxTy = Type::getInt32Ty(T->getContext()); in FindElementAndOffset()
1908 IdxTy = Type::getInt64Ty(T->getContext()); in FindElementAndOffset()
1924 Type *IdxTy; in RewriteGEP() local
1925 uint64_t OldIdx = FindElementAndOffset(T, OldOffset, IdxTy); in RewriteGEP()
1931 uint64_t Idx = FindElementAndOffset(T, EltOffset, IdxTy); in RewriteGEP()
1942 uint64_t EltIdx = FindElementAndOffset(T, EltOffset, IdxTy); in RewriteGEP()
1943 NewArgs.push_back(ConstantInt::get(IdxTy, EltIdx)); in RewriteGEP()
1966 Type *IdxTy; in RewriteLifetimeIntrinsic() local
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp1155 DIE *IdxTy = getIndexTyDie(); in constructArrayTypeDIE() local
1156 if (!IdxTy) { in constructArrayTypeDIE()
1158 IdxTy = new DIE(dwarf::DW_TAG_base_type); in constructArrayTypeDIE()
1159 addUInt(IdxTy, dwarf::DW_AT_byte_size, 0, sizeof(int32_t)); in constructArrayTypeDIE()
1160 addUInt(IdxTy, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, in constructArrayTypeDIE()
1162 addDie(IdxTy); in constructArrayTypeDIE()
1163 setIndexTyDie(IdxTy); in constructArrayTypeDIE()
1170 constructSubrangeDIE(Buffer, DISubrange(Element), IdxTy); in constructArrayTypeDIE()
/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/lib/Transforms/IPO/
DArgumentPromotion.cpp694 Type *IdxTy = (ElTy->isStructTy() ? in DoPromotion() local
697 Ops.push_back(ConstantInt::get(IdxTy, *II)); in DoPromotion()
DGlobalOpt.cpp2369 IntegerType *IdxTy =IntegerType::get(NewTy->getContext(), 32); in EvaluateFunction() local
2370 Constant *IdxZero = ConstantInt::get(IdxTy, 0, false); in EvaluateFunction()
/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/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/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/lib/VMCore/
DConstantFold.cpp2223 Type *IdxTy = Combined->getType(); in ConstantFoldGetElementPtrImpl() local
2224 if (IdxTy != Idx0->getType()) { in ConstantFoldGetElementPtrImpl()
2225 Type *Int64Ty = Type::getInt64Ty(IdxTy->getContext()); in ConstantFoldGetElementPtrImpl()
/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/lib/Target/ARM/
DARMInstrNEON.td4550 ValueType Ty, Operand IdxTy>
4551 : NVDupLane<op19_16, 0, (outs DPR:$Vd), (ins DPR:$Vm, IdxTy:$lane),
4556 ValueType ResTy, ValueType OpTy, Operand IdxTy>
4557 : NVDupLane<op19_16, 1, (outs QPR:$Vd), (ins DPR:$Vm, IdxTy:$lane),
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7099 EVT IdxTy = TLI->getVectorIdxTy(getDataLayout()); in ExtractVectorElements() local
7103 Op, getConstant(i, SL, IdxTy))); in ExtractVectorElements()
/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),
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7034 Type *IdxTy = *GTI; in isExtFreeImpl() local
7040 countTrailingZeros(DL.getTypeStoreSizeInBits(IdxTy)) - 3; in isExtFreeImpl()