Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.cpp170 const Init *OperandName = DI->getArg(0), *NumBits = DI->getArg(1); in buildRec() local
171 if (!isa<StringInit>(OperandName) || !isa<IntInit>(NumBits)) in buildRec()
180 Segments.push_back({static_cast<unsigned>(NumBitsVal), OperandName, in buildRec()
189 Init *OperandName = DI->getArg(0), *HiBit = DI->getArg(1), in buildRec() local
191 if (!isa<StringInit>(OperandName) || !isa<IntInit>(HiBit) || in buildRec()
213 Init *const NewArgs[] = {OperandName, LoBit, HiBit}; in buildRec()
467 StringRef OperandName; in getInstructionCaseForEncoding() local
470 OperandName = SV->getValue(); in getInstructionCaseForEncoding()
474 OperandName = cast<StringInit>(DV->getArg(0))->getValue(); in getInstructionCaseForEncoding()
478 auto OpIdx = CGI.Operands.ParseOperandName(OperandName); in getInstructionCaseForEncoding()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstraintSystem.cpp148 std::string OperandName; in getVarNamesList() local
150 OperandName = V->getNameOrAsOperand(); in getVarNamesList()
152 OperandName = std::string("%") + V->getName().str(); in getVarNamesList()
153 Names[Index - 1] = OperandName; in getVarNamesList()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp1639 StringRef OperandName; in buildInfo() local
1641 OperandName = Token.substr(2, Token.size() - 3); in buildInfo()
1643 OperandName = Token.substr(1); in buildInfo()
1646 buildInstructionOperandReference(II.get(), OperandName, i); in buildInfo()
1648 buildAliasOperandReference(II.get(), OperandName, Op); in buildInfo()
1711 StringRef OperandName, in buildInstructionOperandReference() argument
1719 if (!Operands.hasOperandNamed(OperandName, Idx)) in buildInstructionOperandReference()
1721 "error: unable to find operand: '" + OperandName + "'"); in buildInstructionOperandReference()
1747 Op->OrigSrcOpName = OperandName; in buildInstructionOperandReference()
1764 OperandName = Operands[Idx.first].Name; in buildInstructionOperandReference()
[all …]
H A DInstrInfoEmitter.cpp487 for (const StringRef &OperandName : KV.second) in emitOperandTypeMappings() local
488 OS << " case OpTypes::" << OperandName << ":\n"; in emitOperandTypeMappings()
H A DDecoderEmitter.cpp2170 const std::string &OperandName = Info.Name; in populateInstruction()
2173 errs() << "\t" << OperandName << " (" << OperandDef.getName() << ")\n"; in populateInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMasking.cpp603 [&](unsigned OperandName) -> void { in optimizeVCMPSaveExecSequence() argument
604 if (auto *Mod = TII->getNamedOperand(VCmp, OperandName)) in optimizeVCMPSaveExecSequence()
H A DSIInstrInfo.h1271 MachineOperand *getNamedOperand(MachineInstr &MI, unsigned OperandName) const;
H A DSIInstrInfo.cpp8563 unsigned OperandName) const { in getNamedOperand()
8564 int Idx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), OperandName); in getNamedOperand()