Home
last modified time | relevance | path

Searched refs:NumOp (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo.cpp149 int NumOp = MI.getNumExplicitOperands(); in getBranchDestBlock() local
150 assert(MI.getOperand(NumOp - 1).isMBB() && "Expected MBB!"); in getBranchDestBlock()
151 return MI.getOperand(NumOp - 1).getMBB(); in getBranchDestBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp290 int NumOp = LastInst.getNumExplicitOperands(); in parseCondBranch() local
291 Target = LastInst.getOperand(NumOp - 1).getMBB(); in parseCondBranch()
294 for (int i = 0; i < NumOp - 1; i++) in parseCondBranch()
H A DLoongArchISelLowering.cpp3816 static SDValue customLegalizeToWOp(SDNode *N, SelectionDAG &DAG, int NumOp, in customLegalizeToWOp() argument
3822 switch (NumOp) { in customLegalizeToWOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp92 static ConstantInt *getConstInt(MDNode *MD, unsigned NumOp) { in getConstInt() argument
93 if (MD->getNumOperands() > NumOp) { in getConstInt()
94 auto *CMeta = dyn_cast<ConstantAsMetadata>(MD->getOperand(NumOp)); in getConstInt()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstrInfo.cpp106 int NumOp = Inst->getNumExplicitOperands(); in AnalyzeCondBr() local
110 BB = Inst->getOperand(NumOp-1).getMBB(); in AnalyzeCondBr()
113 for (int i = 0; i < NumOp-1; i++) in AnalyzeCondBr()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPISelLowering.cpp433 int NumOp = Op->getNumOperands(); in legalizePackedAVL()
436 for (int i = 0; i < NumOp; ++i) { in legalizePackedAVL()
427 int NumOp = Op->getNumOperands(); legalizePackedAVL() local
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1795 unsigned NumOp = MCID.getNumOperands(); in needsExpandMemInst() local
1796 if (NumOp != 3 && NumOp != 4) in needsExpandMemInst()
1799 const MCOperandInfo &OpInfo = MCID.operands()[NumOp - 1]; in needsExpandMemInst()
1805 MCOperand &Op = Inst.getOperand(NumOp - 1); in needsExpandMemInst()
3691 unsigned NumOp = Inst.getNumOperands(); in expandMem16Inst() local
3692 assert((NumOp == 3 || NumOp == 4) && "unexpected operands number"); in expandMem16Inst()
3693 unsigned StartOp = NumOp == 3 ? 0 : 1; in expandMem16Inst()
3723 if (NumOp == 3) in expandMem16Inst()
3819 unsigned NumOp = Inst.getNumOperands(); in expandMem9Inst() local
3820 assert((NumOp == 3 || NumOp == 4) && "unexpected operands number"); in expandMem9Inst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp715 int NumOp = MI.getNumOperands(); in HasConditionalBranch() local
716 if (NumOp >= 2) { in HasConditionalBranch()
717 for (int i = 0; i < NumOp-1; ++i) { in HasConditionalBranch()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLoweringHVX.cpp1687 unsigned NumOp = Op.getNumOperands(); in LowerHvxConcatVectors() local
1689 if (NumOp == 2) in LowerHvxConcatVectors()
1732 assert(isPowerOf2_32(NumOp) && HwLen % NumOp == 0); in LowerHvxConcatVectors()
1739 if (NumOp == 2) in LowerHvxConcatVectors()
1748 Ops.take_front(NumOp/2)); in LowerHvxConcatVectors()
1750 Ops.take_back(NumOp/2)); in LowerHvxConcatVectors()
H A DHexagonConstPropagation.cpp2342 unsigned NumOp = MI.getNumOperands(); in rewrite() local
2343 if (NumOp == 0) in rewrite()
3140 unsigned NumOp = BrI.getNumOperands(); in rewriteHexBranch() local
3141 if (!NumOp) in rewriteHexBranch()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1328 for (unsigned Op = 0, NumOp = constant->getNumOperands(); Op != NumOp; ++Op) { in replaceUndef() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp1596 int NumOp = MI.getNumExplicitOperands(); in getBranchDestBlock() local
1597 return MI.getOperand(NumOp - 1).getMBB(); in getBranchDestBlock()