Home
last modified time | relevance | path

Searched refs:OperandName (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/utils/TableGen/
H A DVarLenCodeEmitterGen.cpp131 const Init *OperandName = DI->getArg(0), *NumBits = DI->getArg(1); in buildRec() local
132 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits)) in buildRec()
143 {static_cast<unsigned>(NumBitsVal), OperandName, CustomEncoder}); in buildRec()
151 Init *OperandName = DI->getArg(0), *HiBit = DI->getArg(1), in buildRec() local
153 if (!isa<StringInit>(OperandName) || !isa<IntInit>(HiBit) || in buildRec()
176 Init *const NewArgs[] = {OperandName, LoBit, HiBit}; in buildRec()
439 StringRef OperandName; in getInstructionCaseForEncoding() local
442 OperandName = SV->getValue(); in getInstructionCaseForEncoding()
446 OperandName = cast<StringInit>(DV->getArg(0))->getValue(); in getInstructionCaseForEncoding()
450 auto OpIdx = CGI.Operands.ParseOperandName(OperandName); in getInstructionCaseForEncoding()
[all …]
H A DAsmMatcherEmitter.cpp1603 StringRef OperandName; in buildInfo() local
1605 OperandName = Token.substr(2, Token.size() - 3); in buildInfo()
1607 OperandName = Token.substr(1); in buildInfo()
1676 StringRef OperandName, in buildInstructionOperandReference() argument
1684 if (!Operands.hasOperandNamed(OperandName, Idx)) in buildInstructionOperandReference()
1711 Op->OrigSrcOpName = OperandName; in buildInstructionOperandReference()
1728 OperandName = Operands[Idx.first].Name; in buildInstructionOperandReference()
1732 Op->SrcOpName = OperandName; in buildInstructionOperandReference()
1746 CGA.ResultOperands[i].getName() == OperandName) { in buildAliasOperandReference()
1755 Op.SrcOpName = OperandName; in buildAliasOperandReference()
[all …]
H A DInstrInfoEmitter.cpp485 for (const StringRef &OperandName : KV.second) in emitOperandTypeMappings() local
486 OS << " case OpTypes::" << OperandName << ":\n"; in emitOperandTypeMappings()
H A DDecoderEmitter.cpp2242 const std::string &OperandName = Info.Name; in populateInstruction()
2245 errs() << "\t" << OperandName << " (" << OperandDef.getName() << ")\n"; in populateInstruction()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMasking.cpp586 [&](unsigned OperandName) -> void { in optimizeVCMPSaveExecSequence() argument
587 if (auto *Mod = TII->getNamedOperand(VCmp, OperandName)) in optimizeVCMPSaveExecSequence()
H A DSIInstrInfo.h1024 MachineOperand *getNamedOperand(MachineInstr &MI, unsigned OperandName) const;
H A DSIInstrInfo.cpp7334 unsigned OperandName) const { in getNamedOperand()
7335 int Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), OperandName); in getNamedOperand()