Home
last modified time | relevance | path

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

12

/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-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 …]
/external/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()
/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/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;
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/variant/variant.variant/variant.assign/
Dmove.pass.cpp466 template <std::size_t NewIdx, class ValueType>
474 return v.index() == NewIdx && in test_constexpr_assign_imp()
475 std::get<NewIdx>(v) == std::get<NewIdx>(cp); in test_constexpr_assign_imp()
Dcopy.pass.cpp552 template <std::size_t NewIdx, class ValueType>
559 return v.index() == NewIdx && in test_constexpr_assign_imp()
560 std::get<NewIdx>(v) == std::get<NewIdx>(cp); in test_constexpr_assign_imp()
/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-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()
/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-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()
/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-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()
/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-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()
/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-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()
/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-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()

12