Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DVarLenCodeEmitterGen.cpp158 const Init *OperandName = DI->getArg(0), *NumBits = DI->getArg(1); in buildRec() local
159 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits)) in buildRec()
168 Segments.push_back({static_cast<unsigned>(NumBitsVal), OperandName, in buildRec()
177 Init *OperandName = DI->getArg(0), *HiBit = DI->getArg(1), in buildRec() local
179 if (!isa<StringInit>(OperandName) || !isa<IntInit>(HiBit) || in buildRec()
201 Init *const NewArgs[] = {OperandName, LoBit, HiBit}; in buildRec()
464 StringRef OperandName; in getInstructionCaseForEncoding() local
467 OperandName = SV->getValue(); in getInstructionCaseForEncoding()
471 OperandName = cast<StringInit>(DV->getArg(0))->getValue(); in getInstructionCaseForEncoding()
475 auto OpIdx = CGI.Operands.ParseOperandName(OperandName); in getInstructionCaseForEncoding()
[all …]
H A DAsmMatcherEmitter.cpp1610 StringRef OperandName; in buildInfo() local
1612 OperandName = Token.substr(2, Token.size() - 3); in buildInfo()
1614 OperandName = Token.substr(1); in buildInfo()
1617 buildInstructionOperandReference(II.get(), OperandName, i); in buildInfo()
1619 buildAliasOperandReference(II.get(), OperandName, Op); in buildInfo()
1683 StringRef OperandName, in buildInstructionOperandReference() argument
1691 if (!Operands.hasOperandNamed(OperandName, Idx)) in buildInstructionOperandReference()
1693 "error: unable to find operand: '" + OperandName + "'"); in buildInstructionOperandReference()
1718 Op->OrigSrcOpName = OperandName; in buildInstructionOperandReference()
1735 OperandName = Operands[Idx.first].Name; in buildInstructionOperandReference()
[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.cpp2303 const std::string &OperandName = Info.Name; in populateInstruction()
2306 errs() << "\t" << OperandName << " (" << OperandDef.getName() << ")\n"; in populateInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMasking.cpp583 [&](unsigned OperandName) -> void { in optimizeVCMPSaveExecSequence() argument
584 if (auto *Mod = TII->getNamedOperand(VCmp, OperandName)) in optimizeVCMPSaveExecSequence()
H A DSIInstrInfo.h1028 MachineOperand *getNamedOperand(MachineInstr &MI, unsigned OperandName) const;
H A DSIInstrInfo.cpp7467 unsigned OperandName) const { in getNamedOperand()
7468 int Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), OperandName); in getNamedOperand()