Home
last modified time | relevance | path

Searched refs:MCOI (Results 1 – 25 of 50) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h31 namespace MCOI {
43 ((1 << MCOI::TIED_TO) | ((op) << (4 + MCOI::TIED_TO * 4)))
46 (1 << MCOI::EARLY_CLOBBER)
106 return Flags & (1 << MCOI::LookupPtrRegClass); in isLookupPtrRegClass()
111 bool isPredicate() const { return Flags & (1 << MCOI::Predicate); } in isPredicate()
114 bool isOptionalDef() const { return Flags & (1 << MCOI::OptionalDef); } in isOptionalDef()
117 bool isBranchTarget() const { return Flags & (1 << MCOI::BranchTarget); } in isBranchTarget()
120 return OperandType >= MCOI::OPERAND_FIRST_GENERIC && in isGenericType()
121 OperandType <= MCOI::OPERAND_LAST_GENERIC; in isGenericType()
126 return OperandType - MCOI::OPERAND_FIRST_GENERIC; in getGenericTypeIndex()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVVMV0Elimination.cpp76 static bool isVMV0(const MCOperandInfo &MCOI) { in isVMV0() argument
77 return MCOI.RegClass == RISCV::VMV0RegClassID; in isVMV0()
122 for (auto [OpNo, MCOI] : enumerate(MI.getDesc().operands())) { in runOnMachineFunction()
123 if (isVMV0(MCOI)) { in runOnMachineFunction()
H A DRISCVAsmPrinter.cpp1106 assert(MCID.getOperandConstraint(OpNo, MCOI::TIED_TO) == 0 && in lowerRISCVVMachineInstrToMCInst()
1111 if (OutMCID.getOperandConstraint(OutMI.getNumOperands(), MCOI::TIED_TO) < in lowerRISCVVMachineInstrToMCInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86BaseInfo.h71 OPERAND_ROUNDING_CONTROL = MCOI::OPERAND_FIRST_TARGET,
978 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0) in getOperandBias()
982 if (NumOps == 8 && Desc.getOperandConstraint(6, MCOI::TIED_TO) == 0) in getOperandBias()
987 if (NumOps >= 4 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias()
988 Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1) in getOperandBias()
992 if (NumOps == 9 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias()
993 (Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1 || in getOperandBias()
994 Desc.getOperandConstraint(8, MCOI::TIED_TO) == 1)) in getOperandBias()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYBaseInfo.h63 OPERAND_BARESYMBOL = MCOI::OPERAND_FIRST_TARGET,
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCTargetDesc.cpp240 case MCOI::OPERAND_UNKNOWN: in evaluateBranch()
241 case MCOI::OPERAND_IMMEDIATE: { in evaluateBranch()
248 case MCOI::OPERAND_PCREL: in evaluateBranch()
H A DMipsBaseInfo.h138 OPERAND_FIRST_MIPS_MEM_IMM = MCOI::OPERAND_FIRST_TARGET,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h453 SmallBitVector TypeIdxsCovered{MCOI::OPERAND_LAST_GENERIC -
454 MCOI::OPERAND_FIRST_GENERIC + 2};
455 SmallBitVector ImmIdxsCovered{MCOI::OPERAND_LAST_GENERIC_IMM -
456 MCOI::OPERAND_FIRST_GENERIC_IMM + 2};
461 (MCOI::OPERAND_LAST_GENERIC - MCOI::OPERAND_FIRST_GENERIC) && in typeIdx()
605 assert(ImmIdx <= (MCOI::OPERAND_LAST_GENERIC_IMM - in immIdx()
606 MCOI::OPERAND_FIRST_GENERIC_IMM) && in immIdx()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.h72 OPERAND_IMPLICIT_IMM_0 = MCOI::OPERAND_FIRST_TARGET,
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Disassembler/
H A DWebAssemblyDisassembler.cpp211 case MCOI::OPERAND_IMMEDIATE: { in getInstruction()
311 case MCOI::OPERAND_REGISTER: in getInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiMCTargetDesc.cpp106 MCOI::OPERAND_PCREL) { in evaluateBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.h115 OPERAND_VPRED_R = MCOI::OPERAND_FIRST_TARGET,
H A DARMMCTargetDesc.cpp423 Desc.operands()[OpNum].OperandType == MCOI::OPERAND_PCREL) { in evaluateBranch()
583 Desc.operands()[OpIndex].OperandType != MCOI::OPERAND_MEMORY) in evaluateMemoryOperandAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h265 Desc.getOperandConstraint(Desc.getNumDefs(), MCOI::TIED_TO) == 0; in isFirstDefTiedToFirstUse()
296 OPERAND_FIRST_RISCV_IMM = MCOI::OPERAND_FIRST_TARGET,
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCTargetDesc.cpp144 MCOI::OPERAND_PCREL) in evaluateBranch()
H A DAMDGPUInstPrinter.cpp739 case MCOI::OPERAND_IMMEDIATE: in printRegularOperand()
772 case MCOI::OPERAND_UNKNOWN: in printRegularOperand()
773 case MCOI::OPERAND_PCREL: in printRegularOperand()
776 case MCOI::OPERAND_REGISTER: in printRegularOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp1424 const MCOperandInfo &MCOI = MCID.operands()[I]; in foldMemoryOperandImpl() local
1425 if (MCOI.OperandType != MCOI::OPERAND_REGISTER || I == OpNum) in foldMemoryOperandImpl()
1427 const TargetRegisterClass *RC = TRI->getRegClass(MCOI.RegClass); in foldMemoryOperandImpl()
2289 const MCOperandInfo &MCOI = MCID.operands()[I]; in verifyInstruction() local
2293 if (MCOI.OperandType == MCOI::OPERAND_MEMORY && in verifyInstruction()
2294 ((MCOI.RegClass != -1 && !Op.isReg() && !Op.isFI()) || in verifyInstruction()
2295 (MCOI.RegClass == -1 && !Op.isImm()))) { in verifyInstruction()
H A DSystemZHazardRecognizer.cpp127 MID.getOperandConstraint(OpIdx, MCOI::TIED_TO) != -1) in has4RegOps()
H A DSystemZShortenInst.cpp66 if (MI.getDesc().getOperandConstraint(1, MCOI::TIED_TO) == 0 && in tieOpsIfNeeded()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp2517 const MCOperandInfo &MCOI = MCID.operands()[MONum]; in visitMachineOperand() local
2520 else if (!MO->isDef() && !MCOI.isOptionalDef()) in visitMachineOperand()
2525 const MCOperandInfo &MCOI = MCID.operands()[MONum]; in visitMachineOperand() local
2531 if (MO->isDef() && !MCOI.isOptionalDef() && !MCID.variadicOpsAreDefs()) in visitMachineOperand()
2538 if (MCOI.OperandType == MCOI::OPERAND_REGISTER && in visitMachineOperand()
2542 if (MCOI.OperandType == MCOI::OPERAND_IMMEDIATE || in visitMachineOperand()
2543 (MCOI.OperandType == MCOI::OPERAND_PCREL && in visitMachineOperand()
2549 int TiedTo = MCID.getOperandConstraint(MONum, MCOI::TIED_TO); in visitMachineOperand()
2606 if (-1 == MCID.getOperandConstraint(OtherIdx, MCOI::TIED_TO)) in visitMachineOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.cpp676 if (Op.OperandType == MCOI::OPERAND_REGISTER) in typeCheck()
684 assert(Op.OperandType == MCOI::OPERAND_REGISTER && "Register expected"); in typeCheck()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVInstPrinter.cpp125 MCOI::OPERAND_UNKNOWN) { in printInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTargetDesc.h44 OPERAND_BASIC_BLOCK = MCOI::OPERAND_FIRST_TARGET,
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp462 MCOI::OPERAND_PCREL) in evaluateBranch()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp218 if (MCID.getOperandConstraint(I, MCOI::TIED_TO) != -1) in ClusterNeighboringLoads()
456 if (MCID.getOperandConstraint(i, MCOI::TIED_TO) != -1) { in AddSchedEdges()

12