Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineOperand.h94 unsigned IsDef : 1; variable
378 return !IsDef; in isUse()
383 return IsDef; in isDef()
393 return IsDeadOrKill & IsDef; in isDead()
398 return IsDeadOrKill & !IsDef; in isKill()
517 assert(isReg() && !IsDef && "Wrong MachineOperand mutator");
523 assert(isReg() && IsDef && "Wrong MachineOperand mutator");
540 assert(isReg() && IsDef && "Wrong MachineOperand mutator");
545 assert(isReg() && !IsDef && "Wrong MachineOperand mutator");
840 Op.IsDef = isDef;
H A DRDFGraph.h796 static bool IsDef(const NodeAddr<NodeBase*> BA) { in IsDef() function
/openbsd-src/gnu/llvm/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.cpp2812 bool IsDef; member in __anon8aabd5ea0111::AddRegisterRenderer
2817 const Record *RegisterDef, bool IsDef = false) in AddRegisterRenderer() argument
2819 IsDef(IsDef), Target(Target) {} in AddRegisterRenderer()
2842 if (IsDef) in emitRenderOpcodes()
2858 bool IsDef; member in __anon8aabd5ea0111::TempRegRenderer
2862 TempRegRenderer(unsigned InsnID, unsigned TempRegID, bool IsDef = false, in TempRegRenderer() argument
2866 SubRegIdx(SubReg), IsDef(IsDef), IsDead(IsDead) {} in TempRegRenderer()
2874 assert(!IsDef); in emitRenderOpcodes()
2883 if (IsDef) { in emitRenderOpcodes()
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DMCInstrDescView.cpp44 bool Operand::isDef() const { return IsDef; } in isDef()
46 bool Operand::isUse() const { return !IsDef; } in isUse()
117 Operand.IsDef = (OpIndex < Description->getNumDefs()); in create()
134 Operand.IsDef = true; in create()
142 Operand.IsDef = false; in create()
H A DAssembler.cpp102 const bool IsDef = OpIndex < MCID.getNumDefs(); in addInstruction() local
105 if (IsDef && !OpInfo.isOptionalDef()) in addInstruction()
H A DMCInstrDescView.h84 bool IsDef = false; member
/openbsd-src/gnu/llvm/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.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()
1276 if (!ED.IsDef) in assignInits()
1296 if (ED.IsDef) in assignInits()
1852 assert((!ED.IsDef || ED.Rd.Reg != 0) && "Missing Rd for def"); in replaceInstr()
1877 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.h173 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.cpp185 if ((DFG->IsDef(AA) && AA.Id != OffsetRegRD) || in canRemoveAddasl()
248 for (NodeAddr<DefNode *> DA : SA.Addr->members_if(DFG->IsDef, *DFG)) { in getAllRealUses()
309 if ((DFG->IsDef(AA) && AA.Id != LRExtRegRD) || in isSafeToExtLR()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.h32 void addDSPCtrlRegOperands(bool IsDef, MachineInstr &MI,
H A DMipsDelaySlotFiller.cpp130 bool IsDef) const;
433 unsigned Reg, bool IsDef) const { in checkRegDefsUses()
434 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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineOperand.cpp105 if (IsDef == Val) in setIsDef()
112 IsDef = Val; in setIsDef()
116 IsDef = Val; in setIsDef()
278 IsDef = isDef; in ChangeToRegister()
H A DRDFGraph.cpp1032 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(IsDef, *this)) { in pushClobbers()
1078 for (NodeAddr<DefNode*> DA : IA.Addr->members_if(IsDef, *this)) { in pushDefs()
1387 for (NodeAddr<RefNode*> RA : IA.Addr->members_if(IsDef, *this)) in recordDefsForDF()
1634 return IsDef(RA) && (RA.Addr->getFlags() & NodeAttrs::Clobbering); in linkBlockRefs()
1637 return IsDef(RA) && !(RA.Addr->getFlags() & NodeAttrs::Clobbering); in linkBlockRefs()
H A DBranchFolding.cpp1836 bool IsDef = false; in findHoistingInsertPosAndDeps() local
1847 IsDef = true; in findHoistingInsertPosAndDeps()
1851 if (!IsDef) in findHoistingInsertPosAndDeps()
/openbsd-src/gnu/llvm/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.cpp3451 bool IsDef = false; in adjustStackWithPops() local
3455 IsDef = true; in adjustStackWithPops()
3460 if (IsDef) in adjustStackWithPops()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp866 [this, RegToRename, GetMatchingSubReg](MachineInstr &MI, bool IsDef) { in mergePairedInsns() argument
867 if (IsDef) { in mergePairedInsns()
1397 bool IsDef) { in canRenameUpToDef() argument
1410 FoundDef = IsDef; in canRenameUpToDef()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp452 bool IsDef = false);
1708 bool IsDef) { in parseRegisterOperand() argument
1709 unsigned Flags = IsDef ? RegState::Define : 0; in parseRegisterOperand()

12