Searched refs:NumOps (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedUser.h37 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, argument
39 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {}
H A DUser.h73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) argument
75 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands");
76 NumUserOperands = NumOps;
207 void setGlobalVariableNumOperands(unsigned NumOps) {
208 assert(NumOps <= 1 && "GlobalVariable can only have 0 or 1 operands");
209 NumUserOperands = NumOps;
215 void setNumHungOffUseOperands(unsigned NumOps) {
217 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands");
218 NumUserOperands = NumOps;
H A DConstant.h43 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) argument
44 : User(ty, vty, Ops, NumOps) {}
H A DGlobalObject.h46 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, argument
49 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace),
H A DInlineAsm.h269 static unsigned getFlagWord(unsigned Kind, unsigned NumOps) { argument
270 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!");
272 return Kind | (NumOps << 3);
H A DGlobalValue.h76 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, argument
78 : Constant(PointerType::get(Ty, AddressSpace), VTy, Ops, NumOps),
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.h123 template <unsigned NumOps>
125 int8_t RegBanks[NumOps];
129 template <unsigned NumOps>
132 const std::array<unsigned, NumOps> RegSrcOpIdx,
133 ArrayRef<OpRegBankEntry<NumOps>> Table) const;
H A DR600OpenCLImageTypeLoweringPass.cpp96 size_t NumOps = Node->getNumOperands();
97 if (NumOps != NumKernelArgMDNodes + 1)
H A DAMDGPUPrintfRuntimeBinding.cpp105 size_t NumOps) const {
159 unsigned NumOps = CI->getNumArgOperands(); local
200 getConversionSpecifiers(OpConvSpecifiers, Str, NumOps - 1);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCTargetDesc.cpp142 unsigned NumOps = Inst.getNumOperands(); variable
143 if (NumOps == 0)
145 switch (Info->get(Inst.getOpcode()).OpInfo[NumOps - 1].OperandType) {
151 Target = Region + Inst.getOperand(NumOps - 1).getImm();
156 Target = Addr + Inst.getOperand(NumOps - 1).getImm();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp231 unsigned NumOps = MI->getNumOperands(); local
232 if (!(MO >= MO0 && MO < MO0+NumOps)) {
326 /// Move NumOps operands from Src to Dst, updating use-def lists as needed.
335 unsigned NumOps) {
336 assert(Src != Dst && NumOps && "Noop moveOperands");
340 if (Dst >= Src && Dst < Src + NumOps) {
342 Dst += NumOps - 1;
343 Src += NumOps - 1;
372 } while (--NumOps);
333 moveOperands(MachineOperand *Dst, MachineOperand *Src, unsigned NumOps) argument
H A DCallingConvLower.cpp129 unsigned NumOps = Outs.size(); local
130 for (unsigned i = 0; i != NumOps; ++i) {
147 unsigned NumOps = ArgVTs.size(); local
148 for (unsigned i = 0; i != NumOps; ++i) {
H A DMachineInstr.cpp122 if (unsigned NumOps = MCID->getNumOperands() +
124 CapOperands = OperandCapacity::get(NumOps);
184 /// Move NumOps MachineOperands from Src to Dst, with support for overlapping
187 unsigned NumOps, MachineRegisterInfo *MRI) {
189 return MRI->moveOperands(Dst, Src, NumOps);
192 std::memmove(Dst, Src, NumOps * sizeof(MachineOperand));
793 unsigned NumOps;
795 i += NumOps) {
800 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm());
801 if (i + NumOps > OpId
186 moveOperands(MachineOperand *Dst, MachineOperand *Src, unsigned NumOps, MachineRegisterInfo *MRI) argument
1101 unsigned NumOps; local
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp160 unsigned NumOps = N->getNumOperands(); local
171 SDValue Glue = N->getGluedNode() ? N->getOperand(NumOps-1)
176 for(unsigned i = 0, e = N->getGluedNode() ? NumOps - 1 : NumOps; i < e; ++i) {
221 assert((i+2 < NumOps) && "Invalid number of operands in inline asm");
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp807 unsigned NumOps = MCID.getNumOperands(); local
808 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR);
809 if (HasCC && MI->getOperand(NumOps-1).isDead())
829 unsigned NumOps = MCID.getNumOperands(); local
831 if (i < NumOps && MCID.OpInfo[i].isOptionalDef())
899 unsigned NumOps = MCID.getNumOperands(); local
900 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR);
901 if (HasCC && MI->getOperand(NumOps-1).isDead())
936 unsigned NumOps = MCID.getNumOperands(); local
938 if (i < NumOps
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp413 unsigned NumOps = cast<CheckPredicateMatcher>(N)->getNumOperands(); local
414 OS << "OPC_CheckPredicateWithOperands, " << NumOps << "/*#Ops*/, "; local
415 for (unsigned i = 0; i < NumOps; ++i)
417 OperandBytes = 1 + NumOps;
898 unsigned NumOps = P.getNumOperands();
901 ++NumOps; // Get the chained node too.
906 OS << " Result.resize(NextRes+" << NumOps << ");\n";
924 for (unsigned i = 0; i != NumOps; ++i)
H A DPredicateExpander.h69 void expandCheckNumOperands(raw_ostream &OS, int NumOps);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86BaseInfo.h977 unsigned NumOps = Desc.getNumOperands(); local
984 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0)
988 if (NumOps == 8 &&
994 if (NumOps >= 4 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
999 if (NumOps == 9 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
H A DX86MCCodeEmitter.cpp865 unsigned NumOps = Desc.getNumOperands(); local
1022 unsigned RcOperand = NumOps - 1;
1181 unsigned NumOps = MI.getNumOperands(); local
1185 for (unsigned i = CurOp; i != NumOps; ++i) {
1388 unsigned NumOps = Desc.getNumOperands(); local
1429 OpcodeOffset = MI.getOperand(NumOps - 1).getImm();
1431 --NumOps; // Drop the operand from the end.
1520 --NumOps;
1751 if (CurOp != NumOps) {
1762 while (CurOp != NumOps
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp636 unsigned NumOps = Node->getNumOperands();
640 if (NumOps && Node->getOperand(NumOps-1).getValueType() == MVT::Other)
641 --NumOps; // Ignore chain if it exists.
643 assert((NumOps & 1) == 1 &&
645 for (unsigned i = 1; i != NumOps; ++i) {
1047 unsigned NumOps = Node->getNumOperands();
1048 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue)
1049 --NumOps; // Ignore the glue operand.
1077 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) {
[all...]
H A DScheduleDAGFast.cpp485 unsigned NumOps = Node->getNumOperands(); local
486 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue)
487 --NumOps; // Ignore the glue operand.
489 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) {
673 unsigned NumOps = N->getNumOperands(); local
674 if (unsigned NumLeft = NumOps) {
680 if (NumLeft == NumOps && Op.getValueType() == MVT::Glue) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp562 unsigned NumOps = DefMov->getDesc().getNumOperands(); local
563 for (unsigned i = NumOps - X86::AddrNumOperands; i != NumOps; ++i)
H A DX86FloatingPoint.cpp1121 unsigned NumOps = MI.getDesc().getNumOperands(); local
1122 assert((NumOps == X86::AddrNumOperands + 1 || NumOps == 1) &&
1126 unsigned Reg = getFPReg(MI.getOperand(NumOps - 1));
1154 MI.RemoveOperand(NumOps - 1); // Remove explicit ST(0) operand
1182 unsigned NumOps = MI.getDesc().getNumOperands(); local
1183 assert(NumOps >= 2 && "FPRW instructions must have 2 ops!!");
1527 unsigned NumOps = 0; local
1532 i != e && MI.getOperand(i).isImm(); i += 1 + NumOps) {
1535 NumOps
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenPredicate.cpp373 unsigned NumOps = MI->getNumOperands(); local
374 for (unsigned i = 0; i < NumOps; ++i) {
410 NumOps = 2;
426 for (unsigned i = 1; i < NumOps; ++i) {
/freebsd-12-stable/sys/contrib/dev/acpica/components/debugger/
H A Ddbdisply.c533 UINT32 NumOps = 0; local
573 NumOps++;
616 NumOps, NumOperators, NumOperands);

Completed in 306 milliseconds

1234