Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagOperands.h48 bool IsDef; variable
51 GIMatchDagOperand(unsigned Idx, StringRef Name, bool IsDef) in GIMatchDagOperand() argument
52 : Idx(Idx), Name(Name), IsDef(IsDef) {} in GIMatchDagOperand()
56 bool isDef() const { return IsDef; } in isDef()
66 bool IsDef);
95 void add(StringRef Name, unsigned Idx, bool IsDef);
H A DGIMatchDagOperands.cpp16 Profile(ID, Idx, Name, IsDef); in Profile()
20 StringRef Name, bool IsDef) { in Profile() argument
23 ID.AddBoolean(IsDef); in Profile()
26 void GIMatchDagOperandList::add(StringRef Name, unsigned Idx, bool IsDef) { in add() argument
28 Operands.emplace_back(Operands.size(), Name, IsDef); in add()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h94 unsigned IsDef : 1; variable
372 return !IsDef; in isUse()
377 return IsDef; in isDef()
387 return IsDeadOrKill & IsDef; in isDead()
392 return IsDeadOrKill & !IsDef; in isKill()
501 assert(isReg() && !IsDef && "Wrong MachineOperand mutator");
507 assert(isReg() && IsDef && "Wrong MachineOperand mutator");
524 assert(isReg() && IsDef && "Wrong MachineOperand mutator");
529 assert(isReg() && !IsDef && "Wrong MachineOperand mutator");
801 Op.IsDef = isDef;
H A DRDFGraph.h793 static bool IsDef(const NodeAddr<NodeBase*> BA) { in IsDef() function
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DInstrDocsEmitter.cpp152 bool IsDef = i < II->Operands.NumDefs; in EmitInstrDocs() local
166 OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName() in EmitInstrDocs()
177 OS << "* " << (IsDef ? "DEF" : "USE") << " ``" << Op.Rec->getName() in EmitInstrDocs()
H A DGlobalISelEmitter.cpp2778 bool IsDef; member in __anon612774070111::AddRegisterRenderer
2783 const Record *RegisterDef, bool IsDef = false) in AddRegisterRenderer() argument
2785 IsDef(IsDef), Target(Target) {} in AddRegisterRenderer()
2808 if (IsDef) in emitRenderOpcodes()
2824 bool IsDef; member in __anon612774070111::TempRegRenderer
2828 TempRegRenderer(unsigned InsnID, unsigned TempRegID, bool IsDef = false, in TempRegRenderer() argument
2832 SubRegIdx(SubReg), IsDef(IsDef), IsDead(IsDead) {} in TempRegRenderer()
2840 assert(!IsDef); in emitRenderOpcodes()
2849 if (IsDef) { in emitRenderOpcodes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.cpp136 if (DFG.IsDef(RA)) in collect()
151 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) in collect()
225 else if (DFG.IsDef(RA)) in erase()
H A DHexagonConstExtenders.cpp327 bool IsDef = false; member
502 if (ED.IsDef) in operator <<()
1163 ED.IsDef = true; in recordExtender()
1183 ED.IsDef = true; in recordExtender()
1188 ED.IsDef = true; in recordExtender()
1192 ED.IsDef = true; in recordExtender()
1274 if (!ED.IsDef) in assignInits()
1294 if (ED.IsDef) in assignInits()
1850 assert((!ED.IsDef || ED.Rd.Reg != 0) && "Missing Rd for def"); in replaceInstr()
1875 if (ED.IsDef && Diff != 0) { in replaceInstr()
[all …]
H A DHexagonRDFOpt.cpp168 if (DFG.IsDef(RA) && DeadNodes.count(RA.Id)) in run()
258 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(DFG.IsDef, DFG)) { in rewrite()
H A DHexagonFrameLowering.h175 bool IsDef, bool IsKill) const;
H A DRDFCopy.cpp144 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
H A DHexagonOptAddrMode.cpp183 if ((DFG->IsDef(AA) && AA.Id != OffsetRegRD) || in canRemoveAddasl()
246 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
307 if ((DFG->IsDef(AA) && AA.Id != LRExtRegRD) || in isSafeToExtLR()
H A DHexagonFrameLowering.cpp2614 const CSIVect &CSI, bool IsDef, bool IsKill) const { in addCalleeSaveRegistersAsImpOperand() argument
2617 MI->addOperand(MachineOperand::CreateReg(R.getReg(), IsDef, true, IsKill)); in addCalleeSaveRegistersAsImpOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.h32 void addDSPCtrlRegOperands(bool IsDef, MachineInstr &MI,
H A DMipsDelaySlotFiller.cpp130 bool IsDef) const;
435 unsigned Reg, bool IsDef) const { in checkRegDefsUses()
436 if (IsDef) { in checkRegDefsUses()
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-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp104 if (IsDef == Val) in setIsDef()
111 IsDef = Val; in setIsDef()
115 IsDef = Val; in setIsDef()
259 IsDef = isDef; in ChangeToRegister()
H A DRDFGraph.cpp1043 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(IsDef, *this)) { in pushClobbers()
1089 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(IsDef, *this)) { in pushDefs()
1398 for (NodeAddr<RefNode*> RA : IA.Addr->members_if(IsDef, *this)) in recordDefsForDF()
1645 return IsDef(RA) && (RA.Addr->getFlags() & NodeAttrs::Clobbering); in linkBlockRefs()
1648 return IsDef(RA) && !(RA.Addr->getFlags() & NodeAttrs::Clobbering); in linkBlockRefs()
H A DBranchFolding.cpp1835 bool IsDef = false; in findHoistingInsertPosAndDeps() local
1846 IsDef = true; in findHoistingInsertPosAndDeps()
1850 if (!IsDef) in findHoistingInsertPosAndDeps()
H A DRDFLiveness.cpp386 if (DFG.IsDef(R)) { in getNearestAliasedRef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp421 Owner.Addr->members_if(DataFlowGraph::IsDef, DFG)) { in getGadgetGraph()
474 NodeList Defs = ArgPhi.Addr->members_if(DataFlowGraph::IsDef, DFG); in getGadgetGraph()
486 NodeList Defs = SA.Addr->members_if(DataFlowGraph::IsDef, DFG); in getGadgetGraph()
H A DX86FrameLowering.cpp3218 bool IsDef = false; in adjustStackWithPops() local
3222 IsDef = true; in adjustStackWithPops()
3227 if (IsDef) in adjustStackWithPops()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp884 [this, RegToRename, GetMatchingSubReg](MachineInstr &MI, bool IsDef) { in mergePairedInsns() argument
885 if (IsDef) { in mergePairedInsns()
1401 bool IsDef) { in canRenameUpToDef() argument
1414 FoundDef = IsDef; in canRenameUpToDef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp455 Optional<unsigned> &TiedDefIdx, bool IsDef = false);
1641 bool IsDef) { in parseRegisterOperand() argument
1642 unsigned Flags = IsDef ? RegState::Define : 0; in parseRegisterOperand()