Home
last modified time | relevance | path

Searched refs:NewIdx (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp358 PHINode *NewIdx = PHINode::Create(NewIter->getType(), 2, in CloneLoopBlocks() local
362 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks()
363 NewIdx->getName() + ".sub"); in CloneLoopBlocks()
365 Builder.CreateIsNotNull(IdxSub, NewIdx->getName() + ".cmp"); in CloneLoopBlocks()
367 NewIdx->addIncoming(NewIter, InsertTop); in CloneLoopBlocks()
368 NewIdx->addIncoming(IdxSub, NewBB); in CloneLoopBlocks()
899 PHINode *NewIdx = PHINode::Create(TestVal->getType(), 2, "niter", in UnrollRuntimeLoopRemainder() local
902 B2.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in UnrollRuntimeLoopRemainder()
903 NewIdx->getName() + ".nsub"); in UnrollRuntimeLoopRemainder()
906 IdxCmp = B2.CreateIsNotNull(IdxSub, NewIdx->getName() + ".ncmp"); in UnrollRuntimeLoopRemainder()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLiveIntervals.cpp960 SlotIndex NewIdx; member in LiveIntervals::HMEditor
967 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor() argument
968 : LIS(LIS), MRI(MRI), TRI(TRI), OldIdx(OldIdx), NewIdx(NewIdx), in HMEditor()
984 LLVM_DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": " in updateAllRanges()
1046 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1069 if (SlotIndex::isEarlierEqualInstr(NewIdx, OldIdxIn->end)) in handleMoveDown()
1082 SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveDown()
1086 LR.advanceTo(Next, NewIdx.getBaseIndex()); in handleMoveDown()
1089 !SlotIndex::isEarlierInstr(NewIdxIn->start, NewIdx)) { in handleMoveDown()
1091 Prev->end = NewIdx.getRegSlot(); in handleMoveDown()
[all …]
DRegisterCoalescer.cpp1374 unsigned NewIdx = NewMI.getOperand(0).getSubReg(); in reMaterializeTrivialDef() local
1377 if (NewIdx) in reMaterializeTrivialDef()
1378 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef()
1392 NewMI.getOperand(0).setSubReg(NewIdx); in reMaterializeTrivialDef()
1396 if (NewIdx == 0) in reMaterializeTrivialDef()
1412 if (NewIdx == 0 && DstInt.hasSubRanges()) { in reMaterializeTrivialDef()
1437 if (NewIdx != 0 && DstInt.hasSubRanges()) { in reMaterializeTrivialDef()
1440 LaneBitmask DstMask = TRI->getSubRegIndexLaneMask(NewIdx); in reMaterializeTrivialDef()
DCodeGenPrepare.cpp7021 APInt NewIdx = UGEPIIdx->getValue() - GEPIIdx->getValue(); in tryUnmergingGEPsAcrossIndirectBr() local
7022 unsigned ImmCost = TTI->getIntImmCost(NewIdx, GEPIIdx->getType()); in tryUnmergingGEPsAcrossIndirectBr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCFG.h217 int NewIdx = Idx + RHS; variable
218 assert(index_is_valid(NewIdx) && "Iterator index out of bound");
219 Idx = NewIdx;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContextImpl.cpp200 uint32_t NewIdx = BundleTagCache.size(); in getOrInsertBundleTag() local
201 return &*(BundleTagCache.insert(std::make_pair(Tag, NewIdx)).first); in getOrInsertBundleTag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DGraph.h123 void setAdjEdgeIdx(NodeId NId, typename NodeEntry::AdjEdgeIdx NewIdx) { in setAdjEdgeIdx() argument
125 ThisEdgeAdjIdxs[0] = NewIdx; in setAdjEdgeIdx()
128 ThisEdgeAdjIdxs[1] = NewIdx; in setAdjEdgeIdx()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp1053 unsigned NewIdx = J + I * VecWidth; in vectorizeStoreChain() local
1060 Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(NewIdx)); in vectorizeStoreChain()
1210 unsigned NewIdx = Idx + I * VecWidth; in vectorizeLoadChain() local
1211 Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(NewIdx), in vectorizeLoadChain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp983 Value *NewIdx = in splitGEP() local
985 if (NewIdx != nullptr) { in splitGEP()
987 GEP->setOperand(I, NewIdx); in splitGEP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2119 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { in visitGetElementPtrInst() local
2126 NewIdx, GEP.getName()) in visitGetElementPtrInst()
2127 : Builder.CreateGEP(StrippedPtrEltTy, StrippedPtr, NewIdx, in visitGetElementPtrInst()
2160 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { in visitGetElementPtrInst() local
2165 Value *Off[2] = {Constant::getNullValue(IndTy), NewIdx}; in visitGetElementPtrInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp953 APInt NewIdx = Offset.sdiv_ov(ElemSize, Overflow); in SymbolicallyEvaluateGEP() local
956 Offset -= NewIdx * ElemSize; in SymbolicallyEvaluateGEP()
957 NewIdxs.push_back(ConstantInt::get(IntIdxTy, NewIdx)); in SymbolicallyEvaluateGEP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp1919 APInt NewIdx = CI->getValue().sextOrTrunc(PreferredVecIdxWidth); in translateExtractElement() local
1920 auto *NewIdxCI = ConstantInt::get(CI->getContext(), NewIdx); in translateExtractElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp19651 SDValue NewIdx; in visitINSERT_SUBVECTOR() local
19659 NewIdx = DAG.getConstant(InsIdx * Scale, DL, IdxVT); in visitINSERT_SUBVECTOR()
19664 NewIdx = DAG.getConstant(InsIdx / Scale, DL, IdxVT); in visitINSERT_SUBVECTOR()
19667 if (NewIdx && hasOperation(ISD::INSERT_SUBVECTOR, NewVT)) { in visitINSERT_SUBVECTOR()
19669 Res = DAG.getNode(ISD::INSERT_SUBVECTOR, DL, NewVT, Res, N1Src, NewIdx); in visitINSERT_SUBVECTOR()