Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8632.h120 using InstX86Br = Insts::Br;
121 using InstX86FakeRMW = Insts::FakeRMW;
122 using InstX86Label = Insts::Label;
139 return Insts::Movp::create(Func, Dest, SrcVar); in createLoweredMove()
141 return Insts::Mov::create(Func, Dest, SrcVar); in createLoweredMove()
445 Context.insert<Insts::Adc>(Dest, Src0); in _adc()
448 Context.insert<Insts::AdcRMW>(DestSrc0, Src1); in _adc_rmw()
451 Context.insert<Insts::Add>(Dest, Src0); in _add()
454 Context.insert<Insts::AddRMW>(DestSrc0, Src1); in _add_rmw()
457 Context.insert<Insts::Addps>(Dest, Src0); in _addps()
[all …]
DIceTargetLoweringX8664.h121 using InstX86Br = Insts::Br;
122 using InstX86FakeRMW = Insts::FakeRMW;
123 using InstX86Label = Insts::Label;
140 return Insts::Movp::create(Func, Dest, SrcVar); in createLoweredMove()
142 return Insts::Mov::create(Func, Dest, SrcVar); in createLoweredMove()
441 Context.insert<Insts::Adc>(Dest, Src0); in _adc()
444 Context.insert<Insts::AdcRMW>(DestSrc0, Src1); in _adc_rmw()
447 Context.insert<Insts::Add>(Dest, Src0); in _add()
450 Context.insert<Insts::AddRMW>(DestSrc0, Src1); in _add_rmw()
453 Context.insert<Insts::Addps>(Dest, Src0); in _addps()
[all …]
DIceCfg.cpp587 auto &Insts = PreHeader->getInsts(); in loopInvariantCodeMotion() local
588 auto &LastInst = Insts.back(); in loopInvariantCodeMotion()
589 Insts.pop_back(); in loopInvariantCodeMotion()
610 CfgVector<std::reference_wrapper<Inst>> Insts(Node->getInsts().begin(), in findLoopInvariantInstructions() local
613 for (auto &InstRef : Insts) { in findLoopInvariantInstructions()
776 auto &Insts = Node->getInsts(); in floatConstantCSE() local
784 Insts.insert(Pair.second[0], Assign); in floatConstantCSE()
793 Insts.insert(Pair.second[0], Assign); in floatConstantCSE()
814 uint32_t CombinedAlignment, InstList &Insts, in sortAndCombineAllocas() argument
876 Insts.push_front(Add); in sortAndCombineAllocas()
[all …]
DIceCfgNode.cpp44 if (!Insts.empty()) { in appendInst()
50 Insts.push_back(Instr); in appendInst()
88 removeDeletedAndRenumber(&Insts, Func); in renumberInstructions()
103 assert(!Insts.empty()); in computeSuccessors()
104 OutEdges = Insts.rbegin()->getTerminatorEdges(); in computeSuccessors()
168 Insts.insert(Insts.begin(), Phi->lower(Func)); in placePhiLoads()
184 InstList::iterator InsertionPoint = Insts.end(); in placePhiStores()
188 assert(InsertionPoint != Insts.begin()); in placePhiStores()
243 if (InsertionPoint != Insts.begin()) { in placePhiStores()
266 Insts.insert(SafeInsertionPoint, NewInst); in placePhiStores()
[all …]
DIceCfgNode.h77 InstList &getInsts() { return Insts; } in getInsts()
79 const InstList &getInsts() const { return Insts; } in getInsts()
149 InstList Insts; /// ordered list of non-phi instructions variable
DIceRegAlloc.cpp406 InstList &Insts = Node->getInsts(); in addSpillFill() local
407 InstList::iterator SpillPoint = Insts.end(); in addSpillFill()
408 InstList::iterator FillPoint = Insts.end(); in addSpillFill()
410 for (auto I = Insts.begin(), E = Insts.end(); in addSpillFill()
430 assert(SpillPoint != Insts.end()); in addSpillFill()
431 assert(FillPoint != Insts.end()); in addSpillFill()
DIceVariableSplitting.cpp521 auto &Insts = Node->getInsts(); in splitBlockLocalVariables() local
522 auto Iter = Insts.begin(); in splitBlockLocalVariables()
523 auto IterEnd = Insts.end(); in splitBlockLocalVariables()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DRandomIRBuilder.cpp22 ArrayRef<Instruction *> Insts) { in findOrCreateSource() argument
23 return findOrCreateSource(BB, Insts, {}, anyType()); in findOrCreateSource()
27 ArrayRef<Instruction *> Insts, in findOrCreateSource() argument
33 auto RS = makeSampler(Rand, make_filter_range(Insts, MatchesPred)); in findOrCreateSource()
38 return newSource(BB, Insts, Srcs, Pred); in findOrCreateSource()
41 Value *RandomIRBuilder::newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, in newSource() argument
48 Value *Ptr = findPointer(BB, Insts, Srcs, Pred); in newSource()
96 ArrayRef<Instruction *> Insts, Value *V) { in connectToSink() argument
98 for (auto &I : Insts) { in connectToSink()
117 newSink(BB, Insts, V); in connectToSink()
[all …]
DIRMutator.cpp107 SmallVector<Instruction *, 32> Insts; in mutate() local
109 Insts.push_back(&*I); in mutate()
110 if (Insts.size() < 1) in mutate()
114 size_t IP = uniform<size_t>(IB.Rand, 0, Insts.size() - 1); in mutate()
116 auto InstsBefore = makeArrayRef(Insts).slice(0, IP); in mutate()
117 auto InstsAfter = makeArrayRef(Insts).slice(IP); in mutate()
133 if (Value *Op = OpDesc->BuilderFunc(Srcs, Insts[IP])) { in mutate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h83 Instructions Insts;
187 unsigned size() const { return (unsigned)Insts.size(); }
188 bool empty() const { return Insts.empty(); }
190 MachineInstr &instr_front() { return Insts.front(); }
191 MachineInstr &instr_back() { return Insts.back(); }
192 const MachineInstr &instr_front() const { return Insts.front(); }
193 const MachineInstr &instr_back() const { return Insts.back(); }
195 MachineInstr &front() { return Insts.front(); }
197 const MachineInstr &front() const { return Insts.front(); }
200 instr_iterator instr_begin() { return Insts.begin(); }
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
DRandomIRBuilder.h37 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts);
43 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts,
46 Value *newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts,
50 void connectToSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V);
52 void newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V);
53 Value *findPointer(BasicBlock &BB, ArrayRef<Instruction *> Insts,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVNSink.cpp122 SmallVector<Instruction *, 4> Insts; member in __anonb2b6219e0111::LockstepReverseIterator
135 Insts.clear(); in reset()
142 Insts.push_back(BB->getTerminator()->getPrevNode()); in reset()
144 if (Insts.empty()) in reset()
149 ArrayRef<Instruction *> operator*() const { return Insts; } in operator *()
160 for (auto II = Insts.begin(); II != Insts.end();) { in restrictToBlocks()
164 II = Insts.erase(II); in restrictToBlocks()
175 for (auto *Inst : Insts) { in operator --()
185 Insts = NewInsts; in operator --()
267 ModelledPHI(ArrayRef<Instruction *> Insts, unsigned OpNum, const BArray &B) { in ModelledPHI() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSSAUpdater.cpp337 LoadAndStorePromoter(ArrayRef<const Instruction *> Insts, in LoadAndStorePromoter() argument
339 if (Insts.empty()) return; in LoadAndStorePromoter()
342 if (const LoadInst *LI = dyn_cast<LoadInst>(Insts[0])) in LoadAndStorePromoter()
345 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); in LoadAndStorePromoter()
352 void LoadAndStorePromoter::run(const SmallVectorImpl<Instruction *> &Insts) { in run() argument
358 for (Instruction *User : Insts) in run()
367 for (Instruction *User : Insts) { in run()
416 if (!isInstInList(L, Insts)) continue; in run()
432 if (!isInstInList(SI, Insts)) continue; in run()
463 for (Instruction *User : Insts) { in run()
[all …]
DSimplifyCFG.cpp1453 ArrayRef<Instruction *> Insts, in canSinkInstructions() argument
1458 bool HasUse = !Insts.front()->user_empty(); in canSinkInstructions()
1459 for (auto *I : Insts) { in canSinkInstructions()
1479 const Instruction *I0 = Insts.front(); in canSinkInstructions()
1480 for (auto *I : Insts) in canSinkInstructions()
1491 if (!all_of(Insts, [&PNUse,&Succ](const Instruction *I) -> bool { in canSinkInstructions()
1510 if (isa<StoreInst>(I0) && any_of(Insts, [](const Instruction *I) { in canSinkInstructions()
1514 if (isa<LoadInst>(I0) && any_of(Insts, [](const Instruction *I) { in canSinkInstructions()
1518 if (isLifeTimeMarker(I0) && any_of(Insts, [](const Instruction *I) { in canSinkInstructions()
1532 if (!all_of(Insts, SameAsI0)) { in canSinkInstructions()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp109 void MipsAnalyzeImmediate::GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts) { in GetShortestSeq() argument
124 Insts.clear(); in GetShortestSeq()
125 Insts.append(ShortestSeq->begin(), ShortestSeq->end()); in GetShortestSeq()
154 GetShortestSeq(SeqLs, Insts); in Analyze()
156 return Insts; in Analyze()
DMipsAnalyzeImmediate.h57 void GetShortestSeq(InstSeqLs &SeqLs, InstSeq &Insts);
61 InstSeq Insts; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdater.h141 LoadAndStorePromoter(ArrayRef<const Instruction *> Insts,
150 void run(const SmallVectorImpl<Instruction *> &Insts);
157 const SmallVectorImpl<Instruction *> &Insts) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLowOverheadLoops.cpp81 SmallVector<PredicatedMI, 4> Insts; member in __anon3e8b582d0111::VPTBlock
91 Divergent = &Insts.back(); in addInst()
94 Insts.emplace_back(MI, Preds); in addInst()
95 assert(Insts.size() <= 4 && "Too many instructions in VPT block!"); in addInst()
116 unsigned size() const { return Insts.size(); } in size()
117 SmallVectorImpl<PredicatedMI> &getInsts() { return Insts; } in getInsts()
340 SmallVectorImpl<PredicatedMI> &Insts = Block.getInsts(); in ValidateTailPredicate() local
341 for (auto &PredMI : Insts) { in ValidateTailPredicate()
903 SmallVectorImpl<PredicatedMI> &Insts = Block.getInsts(); in ConvertVPTBlocks() local
928 auto I = MachineBasicBlock::reverse_iterator(Insts.back().MI); in ConvertVPTBlocks()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DHWEventListener.h144 HWPressureEvent(GenericReason reason, ArrayRef<InstRef> Insts,
146 : Reason(reason), AffectedInstructions(Insts), ResourceMask(Mask) {} in Reason()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/
DExecuteStage.cpp131 SmallVector<InstRef, 8> Insts; in cycleEnd() local
132 uint64_t Mask = HWS.analyzeResourcePressure(Insts); in cycleEnd()
137 HWPressureEvent Ev(HWPressureEvent::RESOURCES, Insts, Mask); in cycleEnd()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64A57FPLoadBalancing.cpp193 std::set<MachineInstr*> Insts; member in __anonffb6b4b40211::Chain
207 Insts.insert(MI); in Chain()
220 Insts.insert(MI); in add()
224 bool contains(MachineInstr &MI) { return Insts.count(&MI) > 0; } in contains()
228 return Insts.size(); in size()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DScheduler.cpp243 uint64_t Scheduler::analyzeResourcePressure(SmallVectorImpl<InstRef> &Insts) { in analyzeResourcePressure() argument
244 Insts.insert(Insts.end(), ReadySet.begin(), ReadySet.end()); in analyzeResourcePressure()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachinePipeliner.cpp2461 std::deque<SUnit *> &Insts) { in orderDependence() argument
2471 for (std::deque<SUnit *>::iterator I = Insts.begin(), E = Insts.end(); I != E; in orderDependence()
2566 SUnit *UseSU = Insts.at(MoveUse); in orderDependence()
2567 SUnit *DefSU = Insts.at(MoveDef); in orderDependence()
2569 Insts.erase(Insts.begin() + MoveUse); in orderDependence()
2570 Insts.erase(Insts.begin() + MoveDef); in orderDependence()
2572 Insts.erase(Insts.begin() + MoveDef); in orderDependence()
2573 Insts.erase(Insts.begin() + MoveUse); in orderDependence()
2575 orderDependence(SSD, UseSU, Insts); in orderDependence()
2576 orderDependence(SSD, SU, Insts); in orderDependence()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp95 LegalizerWorkListManager(InstListTy &Insts, ArtifactListTy &Arts) in LegalizerWorkListManager() argument
96 : InstList(Insts), ArtifactList(Arts) {} in LegalizerWorkListManager()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DReassociate.h123 void RecursivelyEraseDeadInsts(Instruction *I, OrderedSet &Insts);

123