Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagOperands.h
H A DGIMatchDagOperands.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h91 /// IsDef - True if this is a def, false if this is a use of the register.
94 unsigned IsDef : 1; variable
381 return !IsDef; in isUse()
386 return IsDef; in isDef()
396 return IsDeadOrKill & IsDef; in isDead()
401 return IsDeadOrKill & !IsDef; in isKill()
520 assert(isReg() && !IsDef && "Wrong MachineOperand mutator");
526 assert(isReg() && IsDef && "Wrong MachineOperand mutator");
543 assert(isReg() && IsDef && "Wrong MachineOperand mutator");
548 assert(isReg() && !IsDef
[all...]
H A DRDFGraph.h825 static bool IsDef(const Node BA) { in IsDef() function
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DInstrDocsEmitter.cpp161 bool IsDef = i < II->Operands.NumDefs; in EmitInstrDocs() local
175 OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName() in EmitInstrDocs()
186 OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName() in EmitInstrDocs()
H A DGlobalISelCombinerMatchTableEmitter.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.cpp137 if (DFG.IsDef(RA)) in collect()
152 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) in collect()
226 else if (DFG.IsDef(RA)) in erase()
H A DHexagonConstExtenders.cpp329 bool IsDef = false; member
504 if (ED.IsDef) in operator <<()
1165 ED.IsDef = true; in recordExtender()
1185 ED.IsDef = true; in recordExtender()
1190 ED.IsDef = true; in recordExtender()
1194 ED.IsDef = true; in recordExtender()
1280 if (!ED.IsDef) in assignInits()
1300 if (ED.IsDef) in assignInits()
1855 assert((!ED.IsDef || ED.Rd.Reg != 0) && "Missing Rd for def"); in replaceInstr()
1880 if (ED.IsDef && Diff != 0) { in replaceInstr()
[all …]
H A DHexagonRDFOpt.cpp173 if (DFG.IsDef(RA) && DeadNodes.count(RA.Id)) in run()
263 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) { in rewrite()
H A DHexagonFrameLowering.h177 bool IsDef, bool IsKill) const;
H A DHexagonOptAddrMode.cpp187 if ((DFG->IsDef(AA) && AA.Id != OffsetRegRD) || in canRemoveAddasl()
250 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
311 if ((DFG->IsDef(AA) && AA.Id != LRExtRegRD) || in isSafeToExtLR()
H A DRDFCopy.cpp184 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.h2051 bool IsDef; variable
2056 const Record *RegisterDef, bool IsDef = false)
2058 IsDef(IsDef), Target(Target) {} in OperandRenderer()
2075 bool IsDef; variable
2079 TempRegRenderer(unsigned InsnID, unsigned TempRegID, bool IsDef = false,
2083 SubRegIdx(SubReg), IsDef(IsDef), IsDead(IsDead) {} in OperandRenderer()
H A DGlobalISelMatchTable.cpp1987 if (IsDef) in emitRenderOpcodes()
1998 const bool NeedsFlags = (SubRegIdx || IsDef); in emitRenderOpcodes()
2000 assert(!IsDef); in emitRenderOpcodes()
2016 if (IsDef) { in emitRenderOpcodes()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp130 bool IsDef) const;
433 unsigned Reg, bool IsDef) const { in checkRegDefsUses()
434 if (IsDef) { in checkRegDefsUses()
H A DMipsSEISelDAGToDAG.h30 void addDSPCtrlRegOperands(bool IsDef, MachineInstr &MI,
H A DMipsSEISelDAGToDAG.cpp52 void MipsSEDAGToDAGISel::addDSPCtrlRegOperands(bool IsDef, MachineInstr &MI, in addDSPCtrlRegOperands() argument
57 IsDef ? RegState::ImplicitDefine : RegState::Implicit | RegState::Undef; in addDSPCtrlRegOperands()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp110 if (IsDef == Val) in setIsDef()
117 IsDef = Val; in setIsDef()
121 IsDef = Val; in setIsDef()
296 IsDef = isDef; in ChangeToRegister()
H A DRDFGraph.cpp1050 for (Def DA : IA.Addr->members_if(IsDef, *this)) { in pushClobbers()
1098 for (Def DA : IA.Addr->members_if(IsDef, *this)) { in pushDefs()
1399 for (Ref RA : IA.Addr->members_if(IsDef, *this)) { in recordDefsForDF()
1587 return IsDef(RA) && (RA.Addr->getFlags() & NodeAttrs::Clobbering); in linkBlockRefs()
1590 return IsDef(RA) && !(RA.Addr->getFlags() & NodeAttrs::Clobbering); in linkBlockRefs()
H A DBranchFolding.cpp1867 bool IsDef = false; in findHoistingInsertPosAndDeps() local
1878 IsDef = true; in findHoistingInsertPosAndDeps()
1882 if (!IsDef) in findHoistingInsertPosAndDeps()
H A DRDFLiveness.cpp381 if (DFG.IsDef(R)) { in getNearestAliasedRef()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp420 Owner.Addr->members_if(DataFlowGraph::IsDef, DFG)) { in getGadgetGraph()
472 NodeList Defs = ArgPhi.Addr->members_if(DataFlowGraph::IsDef, DFG); in getGadgetGraph()
484 NodeList Defs = SA.Addr->members_if(DataFlowGraph::IsDef, DFG); in getGadgetGraph()
H A DX86FrameLowering.cpp3694 bool IsDef = false; in adjustStackWithPops() local
3698 IsDef = true; in adjustStackWithPops()
3703 if (IsDef) in adjustStackWithPops()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp897 bool IsDef) { in mergePairedInsns() argument
898 if (IsDef) { in mergePairedInsns()
1484 bool IsDef) { in canRenameUpToDef() argument
1497 FoundDef = IsDef; in canRenameUpToDef()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp453 bool IsDef = false);
1739 bool IsDef) { in parseRegisterOperand() argument
1740 unsigned Flags = IsDef ? RegState::Define : 0; in parseRegisterOperand()

12