Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp320 PHINode *NewIdx = PHINode::Create(NewIter->getType(), 2, in CloneLoopBlocks() local
324 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks()
325 NewIdx->getName() + ".sub"); in CloneLoopBlocks()
327 Builder.CreateIsNotNull(IdxSub, NewIdx->getName() + ".cmp"); in CloneLoopBlocks()
329 NewIdx->addIncoming(NewIter, InsertTop); in CloneLoopBlocks()
330 NewIdx->addIncoming(IdxSub, NewBB); in CloneLoopBlocks()
657 PHINode *NewIdx = PHINode::Create(TestVal->getType(), 2, "niter", in UnrollRuntimeLoopRemainder() local
660 B2.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in UnrollRuntimeLoopRemainder()
661 NewIdx->getName() + ".nsub"); in UnrollRuntimeLoopRemainder()
664 IdxCmp = B2.CreateIsNotNull(IdxSub, NewIdx->getName() + ".ncmp"); in UnrollRuntimeLoopRemainder()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp341 PHINode *NewIdx = PHINode::Create(NewIter->getType(), 2, in CloneLoopBlocks() local
345 Builder.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in CloneLoopBlocks()
346 NewIdx->getName() + ".sub"); in CloneLoopBlocks()
348 Builder.CreateIsNotNull(IdxSub, NewIdx->getName() + ".cmp"); in CloneLoopBlocks()
350 NewIdx->addIncoming(NewIter, InsertTop); in CloneLoopBlocks()
351 NewIdx->addIncoming(IdxSub, NewBB); in CloneLoopBlocks()
863 PHINode *NewIdx = PHINode::Create(TestVal->getType(), 2, "niter", in UnrollRuntimeLoopRemainder() local
866 B2.CreateSub(NewIdx, ConstantInt::get(NewIdx->getType(), 1), in UnrollRuntimeLoopRemainder()
867 NewIdx->getName() + ".nsub"); in UnrollRuntimeLoopRemainder()
870 IdxCmp = B2.CreateIsNotNull(IdxSub, NewIdx->getName() + ".ncmp"); in UnrollRuntimeLoopRemainder()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveIntervals.cpp951 SlotIndex NewIdx; member in LiveIntervals::HMEditor
958 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor() argument
959 : LIS(LIS), MRI(MRI), TRI(TRI), OldIdx(OldIdx), NewIdx(NewIdx), in HMEditor()
975 LLVM_DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": " in updateAllRanges()
1037 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1060 if (SlotIndex::isEarlierEqualInstr(NewIdx, OldIdxIn->end)) in handleMoveDown()
1073 SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveDown()
1077 LR.advanceTo(Next, NewIdx.getBaseIndex()); in handleMoveDown()
1080 !SlotIndex::isEarlierInstr(NewIdxIn->start, NewIdx)) { in handleMoveDown()
1082 Prev->end = NewIdx.getRegSlot(); in handleMoveDown()
[all …]
DRegisterCoalescer.cpp1236 unsigned NewIdx = NewMI.getOperand(0).getSubReg(); in reMaterializeTrivialDef() local
1239 if (NewIdx) in reMaterializeTrivialDef()
1240 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef()
1254 NewMI.getOperand(0).setSubReg(NewIdx); in reMaterializeTrivialDef()
1258 if (NewIdx == 0) in reMaterializeTrivialDef()
1274 if (NewIdx == 0 && DstInt.hasSubRanges()) { in reMaterializeTrivialDef()
1299 if (NewIdx != 0 && DstInt.hasSubRanges()) { in reMaterializeTrivialDef()
1302 LaneBitmask DstMask = TRI->getSubRegIndexLaneMask(NewIdx); in reMaterializeTrivialDef()
DCodeGenPrepare.cpp6478 APInt NewIdx = UGEPIIdx->getValue() - GEPIIdx->getValue(); in tryUnmergingGEPsAcrossIndirectBr() local
6479 unsigned ImmCost = TTI->getIntImmCost(NewIdx, GEPIIdx->getType()); in tryUnmergingGEPsAcrossIndirectBr()
/external/llvm/lib/CodeGen/
DLiveIntervalAnalysis.cpp911 SlotIndex NewIdx; member in LiveIntervals::HMEditor
918 SlotIndex OldIdx, SlotIndex NewIdx, bool UpdateFlags) in HMEditor() argument
919 : LIS(LIS), MRI(MRI), TRI(TRI), OldIdx(OldIdx), NewIdx(NewIdx), in HMEditor()
935 DEBUG(dbgs() << "handleMove " << OldIdx << " -> " << NewIdx << ": " << *MI); in updateAllRanges()
995 if (SlotIndex::isEarlierInstr(OldIdx, NewIdx)) in updateRange()
1018 if (SlotIndex::isEarlierEqualInstr(NewIdx, OldIdxIn->end)) in handleMoveDown()
1031 SlotIndex::isEarlierInstr(Next->start, NewIdx)) { in handleMoveDown()
1035 LR.advanceTo(Next, NewIdx.getBaseIndex()); in handleMoveDown()
1038 !SlotIndex::isEarlierInstr(NewIdxIn->start, NewIdx)) { in handleMoveDown()
1040 Prev->end = NewIdx.getRegSlot(); in handleMoveDown()
[all …]
DRegisterCoalescer.cpp1019 unsigned NewIdx = NewMI.getOperand(0).getSubReg(); in reMaterializeTrivialDef() local
1022 if (NewIdx) in reMaterializeTrivialDef()
1023 NewRC = TRI->getMatchingSuperRegClass(NewRC, DefRC, NewIdx); in reMaterializeTrivialDef()
1037 NewMI.getOperand(0).setSubReg(NewIdx); in reMaterializeTrivialDef()
1052 if (NewIdx == 0 && DstInt.hasSubRanges()) { in reMaterializeTrivialDef()
/external/llvm/lib/IR/
DLLVMContextImpl.cpp199 uint32_t NewIdx = BundleTagCache.size(); in getOrInsertBundleTag() local
200 return &*(BundleTagCache.insert(std::make_pair(Tag, NewIdx)).first); in getOrInsertBundleTag()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/
Dmove.pass.cpp485 template <size_t NewIdx, class ValueType>
493 return v.index() == NewIdx && in test_constexpr_assign_imp()
494 std::get<NewIdx>(v) == std::get<NewIdx>(cp); in test_constexpr_assign_imp()
Dcopy.pass.cpp570 template <size_t NewIdx, class ValueType>
577 return v.index() == NewIdx && in test_constexpr_assign_imp()
578 std::get<NewIdx>(v) == std::get<NewIdx>(cp); in test_constexpr_assign_imp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContextImpl.cpp201 uint32_t NewIdx = BundleTagCache.size(); in getOrInsertBundleTag() local
202 return &*(BundleTagCache.insert(std::make_pair(Tag, NewIdx)).first); in getOrInsertBundleTag()
/external/llvm/include/llvm/CodeGen/PBQP/
DGraph.h140 void setAdjEdgeIdx(NodeId NId, typename NodeEntry::AdjEdgeIdx NewIdx) { in setAdjEdgeIdx() argument
142 ThisEdgeAdjIdxs[0] = NewIdx; in setAdjEdgeIdx()
145 ThisEdgeAdjIdxs[1] = NewIdx; in setAdjEdgeIdx()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/PBQP/
DGraph.h124 void setAdjEdgeIdx(NodeId NId, typename NodeEntry::AdjEdgeIdx NewIdx) { in setAdjEdgeIdx() argument
126 ThisEdgeAdjIdxs[0] = NewIdx; in setAdjEdgeIdx()
129 ThisEdgeAdjIdxs[1] = NewIdx; in setAdjEdgeIdx()
/external/clang/lib/StaticAnalyzer/Core/
DStore.cpp483 nonloc::ConcreteInt NewIdx(svalBuilder.getBasicValueFactory().getValue(BaseIdxI + in getLValueElement() local
488 return loc::MemRegionVal(MRMgr.getElementRegion(elementType, NewIdx, ArrayR, in getLValueElement()
/external/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp781 unsigned NewIdx = J + I * VecWidth; in vectorizeStoreChain() local
788 Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(NewIdx)); in vectorizeStoreChain()
945 unsigned NewIdx = Idx + I * VecWidth; in vectorizeLoadChain() local
946 Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(NewIdx)); in vectorizeLoadChain()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp1015 unsigned NewIdx = J + I * VecWidth; in vectorizeStoreChain() local
1022 Builder.CreateInsertElement(Vec, Extract, Builder.getInt32(NewIdx)); in vectorizeStoreChain()
1178 unsigned NewIdx = Idx + I * VecWidth; in vectorizeLoadChain() local
1179 Value *V = Builder.CreateExtractElement(LI, Builder.getInt32(NewIdx), in vectorizeLoadChain()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp936 Value *NewIdx = in splitGEP() local
938 if (NewIdx != nullptr) { in splitGEP()
940 GEP->setOperand(I, NewIdx); in splitGEP()
/external/swiftshader/third_party/llvm-7.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()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp458 CodeGenSubRegIndex *NewIdx = NewSubRegs[i].first; in computeSecondarySubRegs() local
460 SubReg2Idx.insert(std::make_pair(NewSubReg, NewIdx)); in computeSecondarySubRegs()
465 CodeGenSubRegIndex *NewIdx = NewSubRegs[i].first; in computeSecondarySubRegs() local
473 NewIdx->addComposite(SI->first, SubIdx); in computeSecondarySubRegs()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1723 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { in visitGetElementPtrInst() local
1729 ? Builder->CreateInBoundsGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst()
1731 : Builder->CreateGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst()
1762 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { in visitGetElementPtrInst() local
1768 NewIdx}; in visitGetElementPtrInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1873 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { in visitGetElementPtrInst() local
1879 ? Builder.CreateInBoundsGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst()
1881 : Builder.CreateGEP(nullptr, StrippedPtr, NewIdx, in visitGetElementPtrInst()
1914 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) { in visitGetElementPtrInst() local
1919 Value *Off[2] = {Constant::getNullValue(IndTy), NewIdx}; in visitGetElementPtrInst()
/external/llvm/lib/Analysis/
DConstantFolding.cpp867 APInt NewIdx = Offset.sdiv_ov(ElemSize, Overflow); in SymbolicallyEvaluateGEP() local
870 Offset -= NewIdx * ElemSize; in SymbolicallyEvaluateGEP()
871 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx)); in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp922 APInt NewIdx = Offset.sdiv_ov(ElemSize, Overflow); in SymbolicallyEvaluateGEP() local
925 Offset -= NewIdx * ElemSize; in SymbolicallyEvaluateGEP()
926 NewIdxs.push_back(ConstantInt::get(IntPtrTy, NewIdx)); in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenRegisters.cpp533 CodeGenSubRegIndex *NewIdx = NewSubRegs[i].first; in computeSecondarySubRegs() local
541 NewIdx->addComposite(SI->first, SubIdx); in computeSecondarySubRegs()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp3216 unsigned NewIdx = 0; in SubstFunctionType() local
3230 ParmVarDecl *NewParam = NewProtoLoc.getParam(NewIdx++); in SubstFunctionType()
3237 ParmVarDecl *NewParam = NewProtoLoc.getParam(NewIdx++); in SubstFunctionType()