Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/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.cpp2765 bool IsDef; member in __anon332dbd1e0111::AddRegisterRenderer
2770 const Record *RegisterDef, bool IsDef = false) in AddRegisterRenderer() argument
2772 IsDef(IsDef), Target(Target) {} in AddRegisterRenderer()
2795 if (IsDef) in emitRenderOpcodes()
2811 bool IsDef; member in __anon332dbd1e0111::TempRegRenderer
2815 TempRegRenderer(unsigned InsnID, unsigned TempRegID, bool IsDef = false, in TempRegRenderer() argument
2819 SubRegIdx(SubReg), IsDef(IsDef), IsDead(IsDead) {} in TempRegRenderer()
2827 assert(!IsDef); in emitRenderOpcodes()
2836 if (IsDef) { in emitRenderOpcodes()
/netbsd-src/external/apache2/llvm/dist/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()
135 Operand.IsDef = true; in create()
144 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.h86 bool IsDef = false; member
/netbsd-src/external/apache2/llvm/dist/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 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.h175 bool IsDef, bool IsKill) const;
H A DRDFCopy.cpp144 for (NodeAddr<DefNode*> DA : SA.Addr->members_if(DFG.IsDef, DFG)) { in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp130 bool IsDef) const;
435 unsigned Reg, bool IsDef) const { in checkRegDefsUses()
436 if (IsDef) { in checkRegDefsUses()
H A DMipsSEISelDAGToDAG.h32 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()
/netbsd-src/external/apache2/llvm/dist/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.cpp1845 bool IsDef = false; in findHoistingInsertPosAndDeps() local
1856 IsDef = true; in findHoistingInsertPosAndDeps()
1860 if (!IsDef) in findHoistingInsertPosAndDeps()
/netbsd-src/external/apache2/llvm/dist/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.cpp3202 bool IsDef = false; in adjustStackWithPops() local
3206 IsDef = true; in adjustStackWithPops()
3211 if (IsDef) in adjustStackWithPops()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp448 Optional<unsigned> &TiedDefIdx, bool IsDef = false);
1493 bool IsDef) { in parseRegisterOperand() argument
1494 unsigned Flags = IsDef ? RegState::Define : 0; in parseRegisterOperand()

12