Home
last modified time | relevance | path

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

/external/swiftshader/third_party/subzero/src/
DIceVariableSplitting.cpp80 for (const Inst &Instr : Node->getInsts()) { in reset()
317 Node->getInsts().insert(IterNext, Mov); in handleSimpleVarAssign()
342 Node->getInsts().insert(IterNext, Mov); in handleSimpleVarAssign()
349 Node->getInsts().insert(IterNext, Mov); in handleSimpleVarAssign()
367 Node->getInsts().insert(IterCur, Mov); in handlePhi()
401 Node->getInsts().insert(IterCur, Mov); in handleGeneralInst()
413 Node->getInsts().insert(IterNext, Mov); in handleGeneralInst()
418 Node->getInsts().insert(IterNext, Mov); in handleGeneralInst()
521 auto &Insts = Node->getInsts(); in splitBlockLocalVariables()
DIceCfg.cpp92 for (Inst &I : Node->getInsts()) { in getFunctionNameAndSize()
209 getEntryNode()->getInsts().push_front(Call); in addCallToProfileSummary()
618 for (Inst &Instr : Node->getInsts()) { in localCSE()
680 if (PreHeader == nullptr || PreHeader->getInsts().size() == 0) { in loopInvariantCodeMotion()
684 auto &Insts = PreHeader->getInsts(); in loopInvariantCodeMotion()
707 CfgVector<std::reference_wrapper<Inst>> Insts(Node->getInsts().begin(), in findLoopInvariantInstructions()
708 Node->getInsts().end()); in findLoopInvariantInstructions()
741 Node->getInsts().remove(Inst); in findLoopInvariantInstructions()
846 auto Current = Node->getInsts().begin(); in floatConstantCSE()
847 auto End = Node->getInsts().end(); in floatConstantCSE()
[all …]
DIceCfgNode.h77 InstList &getInsts() { return Insts; } in getInsts() function
79 const InstList &getInsts() const { return Insts; } in getInsts() function
DIceCfgNode.cpp325 for (Inst &I : Pred->getInsts()) in splitIncomingEdge()
937 for (Inst &I : Pred->getInsts()) { in contractIfEmpty()
1500 auto *Last = &getInsts().back(); in shortCircuit()
1519 for (auto &Inst : reverse_range(getInsts())) { in shortCircuit()
1547 for (auto &Inst : getInsts()) { in shortCircuit()
1560 while (It != getInsts().end()) { in shortCircuit()
1584 NewNode->getInsts().splice(NewNode->getInsts().begin(), getInsts(), It, in shortCircuit()
1585 getInsts().end()); in shortCircuit()
DIceTargetLowering.cpp69 End = getNode()->getInsts().end(); in init()
75 Begin = getNode()->getInsts().begin(); in rewind()
83 getNode()->getInsts().insert(Next, Instr); in insert()
563 Process(Node->getInsts()); in getInstructionsInRange()
705 Node->getInsts().insert(instToIterator(Info.FirstUse), NewInst); in postRegallocSplitting()
710 Node->getInsts().insertAfter(instToIterator(Info.LastDef), NewInst); in postRegallocSplitting()
786 for (Inst &Instr : Node->getInsts()) { in getVarStackSlotParams()
DIceRegAlloc.cpp148 for (Inst &I : Node->getInsts()) { in initForGlobal()
220 for (Inst &Instr : Node->getInsts()) { in initForInfOnly()
406 InstList &Insts = Node->getInsts(); in addSpillFill()
DIceTargetLoweringX8632.cpp244 for (Inst &Instr : Node->getInsts()) { in emitGetIP()
DIceOperand.cpp413 for (Inst &I : Node->getInsts()) { in addNode()
DIceASanInstrumentation.cpp478 Func->getEntryNode()->getInsts().push_front(Call); in instrumentStart()
DIceTargetLoweringX86BaseImpl.h257 for (Inst &Instr : Node->getInsts()) {
709 auto E = Node->getInsts().end();
710 auto I1 = E, I2 = E, I3 = Node->getInsts().begin();
781 Node->getInsts().insert(I3, BeaconDef);
784 Node->getInsts().insert(I3, RMW);
1320 InstList &Insts = Node->getInsts();
7334 Node->getInsts().push_front(InstFakeUse::create(Func, RebasePtr));
DIceTargetLoweringMIPS32.cpp210 for (Inst &Instr : Node->getInsts()) { in unsetIfNonLeafFunc()
1418 for (Inst &Instr : Node->getInsts()) { in lowerArguments()
1750 InstList &Insts = Node->getInsts(); in addEpilog()
6041 for (Inst &Instr : Node->getInsts()) { in recordProducers()
DIceTargetLoweringARM32.cpp927 for (auto &Inst : Node->getInsts()) { in materializeGotAddr()
1699 InstList &Insts = Node->getInsts(); in addEpilog()
6305 Node->getInsts().push_front(InstFakeUse::create(Func, GotPtr)); in prelowerPhis()
7003 for (Inst &Instr : Node->getInsts()) { in recordProducers()
DPNaClTranslator.cpp2142 if (Node->getInsts().empty()) { in ExitBlock()
/external/swiftshader/src/Reactor/
DOptimizer.cpp122 for(Ice::Inst &inst : Ice::reverse_range(basicBlock->getInsts())) in eliminateDeadCode()
144 for(Ice::Inst &alloca : entryBlock->getInsts()) in eliminateUnitializedLoads()
207 for(Ice::Inst &alloca : entryBlock->getInsts()) in eliminateLoadsFollowingSingleStore()
318 for(Ice::Inst &alloca : entryBlock->getInsts()) in optimizeStoresInSingleBasicBlock()
363 for(Ice::Inst &inst : singleBasicBlock->getInsts()) in optimizeStoresInSingleBasicBlock()
434 for(Ice::Inst &instruction : basicBlock->getInsts()) in analyzeUses()
DSubzeroReactor.cpp583 if(basicBlock->getInsts().empty() || basicBlock->getInsts().back().getKind() != Ice::Inst::Ret) in acquireRoutine()
634 ::function->getEntryNode()->getInsts().push_front(alloca); in allocateStackVariable()
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMCFunction.cpp115 if (BB.getInsts().empty()) continue; in createFunctionFromMC()
116 const MCDecodedInst &Inst = BB.getInsts().back(); in createFunctionFromMC()
DMachODump.cpp196 for (unsigned ii = 0, ie = i->second.getInsts().size(); ii != ie; in emitDOTFile()
201 IP->printInst(&i->second.getInsts()[ii].Inst, OS, ""); in emitDOTFile()
556 for (unsigned ii = 0, ie = fi->second.getInsts().size(); ii != ie; in DisassembleInputMachO()
558 const MCDecodedInst &Inst = fi->second.getInsts()[ii]; in DisassembleInputMachO()
DMCFunction.h53 ArrayRef<MCDecodedInst> getInsts() const { return Insts; } in getInsts() function