Home
last modified time | relevance | path

Searched refs:NumOps (Results 1 – 25 of 55) sorted by relevance

123

/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp135 unsigned NumOps = MI->getNumOperands(); in verifyUseList() local
136 if (!(MO >= MO0 && MO < MO0+NumOps)) { in verifyUseList()
239 unsigned NumOps) { in moveOperands() argument
240 assert(Src != Dst && NumOps && "Noop moveOperands"); in moveOperands()
244 if (Dst >= Src && Dst < Src + NumOps) { in moveOperands()
246 Dst += NumOps - 1; in moveOperands()
247 Src += NumOps - 1; in moveOperands()
276 } while (--NumOps); in moveOperands()
H A DCallingConvLower.cpp122 unsigned NumOps = Outs.size(); in AnalyzeCallOperands() local
123 for (unsigned i = 0; i != NumOps; ++i) { in AnalyzeCallOperands()
141 unsigned NumOps = ArgVTs.size(); in AnalyzeCallOperands() local
142 for (unsigned i = 0; i != NumOps; ++i) { in AnalyzeCallOperands()
H A DMachineInstr.cpp605 if (unsigned NumOps = MCID->getNumOperands() + in MachineInstr() local
607 CapOperands = OperandCapacity::get(NumOps); in MachineInstr()
673 unsigned NumOps, MachineRegisterInfo *MRI) { in moveOperands() argument
675 return MRI->moveOperands(Dst, Src, NumOps); in moveOperands()
680 for (unsigned i = 0; i != NumOps; ++i) in moveOperands()
683 for (unsigned i = NumOps; i ; --i) in moveOperands()
1022 unsigned NumOps; in findInlineAsmFlagIdx() local
1024 i += NumOps) { in findInlineAsmFlagIdx()
1029 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm()); in findInlineAsmFlagIdx()
1030 if (i + NumOps > OpIdx) { in findInlineAsmFlagIdx()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonCallingConvLower.cpp138 unsigned NumOps = Outs.size(); in AnalyzeCallOperands() local
148 for (; i != NumOps; ++i) { in AnalyzeCallOperands()
166 unsigned NumOps = ArgVTs.size(); in AnalyzeCallOperands() local
167 for (unsigned i = 0; i != NumOps; ++i) { in AnalyzeCallOperands()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DGlobalObject.h30 GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalObject() argument
32 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name), ObjComdat(nullptr) { in GlobalObject()
H A DConstant.h47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument
48 : User(ty, vty, Ops, NumOps) {} in Constant()
H A DInlineAsm.h226 static unsigned getFlagWord(unsigned Kind, unsigned NumOps) { in getFlagWord() argument
227 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!"); in getFlagWord()
229 return Kind | (NumOps << 3); in getFlagWord()
H A DUser.h51 User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps) in User() argument
53 NumOperands = NumOps; in User()
H A DGlobalValue.h64 GlobalValue(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue() argument
66 : Constant(Ty, VTy, Ops, NumOps), Linkage(Linkage), in GlobalValue()
H A DInstruction.h485 Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
487 Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
H A DInstrTypes.h38 Use *Ops, unsigned NumOps,
40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {} in Instruction() argument
43 Use *Ops, unsigned NumOps, BasicBlock *InsertAtEnd) in TerminatorInst() argument
44 : Instruction(Ty, iType, Ops, NumOps, InsertAtEnd) {} in TerminatorInst()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
H A DX86BaseInfo.h630 unsigned NumOps = Desc.getNumOperands(); in getOperandBias() local
632 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0) in getOperandBias()
634 else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias()
639 else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias()
640 Desc.getOperandConstraint(NumOps - 1, MCOI::TIED_TO) == 1) in getOperandBias()
644 else if (NumOps > 2 && Desc.getOperandConstraint(NumOps - 2, MCOI::TIED_TO) == 0) in getOperandBias()
H A DX86MCCodeEmitter.cpp713 unsigned NumOps = Desc.getNumOperands(); in EmitVEXOpcodePrefix() local
863 unsigned RcOperand = NumOps-1; in EmitVEXOpcodePrefix()
998 unsigned NumOps = MI.getNumOperands(); in DetermineREXPrefix() local
1000 bool isTwoAddr = NumOps > 1 && in DetermineREXPrefix()
1005 for (; i != NumOps; ++i) { in DetermineREXPrefix()
1022 for (; i != NumOps; ++i) { in DetermineREXPrefix()
1034 for (; i != NumOps; ++i) { in DetermineREXPrefix()
1052 if (NumOps > e && MI.getOperand(e).isReg() && in DetermineREXPrefix()
1071 for (unsigned e = NumOps; i != e; ++i) { in DetermineREXPrefix()
1168 unsigned NumOps = Desc.getNumOperands(); in EncodeInstruction() local
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp699 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local
700 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceTo2Addr()
701 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceTo2Addr()
725 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local
727 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceTo2Addr()
795 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local
796 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceToNarrow()
797 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceToNarrow()
821 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local
823 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceToNarrow()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGFast.cpp494 unsigned NumOps = Node->getNumOperands(); in DelayForLiveRegsBottomUp() local
495 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue) in DelayForLiveRegsBottomUp()
496 --NumOps; // Ignore the glue operand. in DelayForLiveRegsBottomUp()
498 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in DelayForLiveRegsBottomUp()
682 unsigned NumOps = N->getNumOperands(); in ScheduleNode() local
683 if (unsigned NumLeft = NumOps) { in ScheduleNode()
689 if (NumLeft == NumOps && Op.getValueType() == MVT::Glue) { in ScheduleNode()
H A DLegalizeTypes.cpp417 for (unsigned i = 0, NumOps = I->getNumOperands(); i < NumOps; ++i) in run() local
1020 unsigned NumOps = N->getNumOperands(); in LibCallify() local
1022 if (NumOps == 0) { in LibCallify()
1025 } else if (NumOps == 1) { in LibCallify()
1029 } else if (NumOps == 2) { in LibCallify()
1034 SmallVector<SDValue, 8> Ops(NumOps); in LibCallify()
1035 for (unsigned i = 0; i < NumOps; ++i) in LibCallify()
1039 &Ops[0], NumOps, isSigned, dl).first; in LibCallify()
H A DInstrEmitter.cpp612 unsigned NumOps = Node->getNumOperands(); in EmitRegSequence() local
613 assert((NumOps & 1) == 1 && in EmitRegSequence()
615 for (unsigned i = 1; i != NumOps; ++i) { in EmitRegSequence()
931 unsigned NumOps = Node->getNumOperands(); in EmitSpecialNode() local
932 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue) in EmitSpecialNode()
933 --NumOps; // Ignore the glue operand. in EmitSpecialNode()
955 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in EmitSpecialNode()
H A DSelectionDAG.cpp4392 unsigned NumOps = Ops.size(); in getAtomic() local
4393 SDUse *DynOps = NumOps > 4 ? OperandAllocator.Allocate<SDUse>(NumOps) in getAtomic()
4398 Ops.data(), DynOps, NumOps, MMO, in getAtomic()
5006 unsigned NumOps = Ops.size(); in getNode() local
5007 switch (NumOps) { in getNode()
5018 assert(NumOps == 5 && "SELECT_CC takes 5 operands!"); in getNode()
5028 assert(NumOps == 5 && "BR_CC takes 5 operands!"); in getNode()
5094 unsigned NumOps = Ops.size(); in getNode() local
5102 if (NumOps == 1) { in getNode()
5105 } else if (NumOps == 2) { in getNode()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp23 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() argument
25 : User(ty, Value::InstructionVal + it, Ops, NumOps), Parent(nullptr) { in Instruction()
39 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() argument
41 : User(ty, Value::InstructionVal + it, Ops, NumOps), Parent(nullptr) { in Instruction()
H A DInstructions.cpp144 unsigned NumOps = e + e / 2; in growOperands() local
145 if (NumOps < 2) NumOps = 2; // 2 op PHI nodes are VERY common. in growOperands()
150 ReservedSpace = NumOps; in growOperands()
3486 unsigned NumOps = getNumOperands(); in removeCase() local
3490 if (2 + (idx + 1) * 2 != NumOps) { in removeCase()
3491 OL[2 + idx * 2] = OL[NumOps - 2]; in removeCase()
3492 OL[2 + idx * 2 + 1] = OL[NumOps - 1]; in removeCase()
3496 OL[NumOps-2].set(nullptr); in removeCase()
3497 OL[NumOps-2+1].set(nullptr); in removeCase()
3498 NumOperands = NumOps-2; in removeCase()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp974 unsigned NumOps = MI->getDesc().getNumOperands(); in handleOneArgFP() local
975 assert((NumOps == X86::AddrNumOperands + 1 || NumOps == 1) && in handleOneArgFP()
979 unsigned Reg = getFPReg(MI->getOperand(NumOps-1)); in handleOneArgFP()
1008 MI->RemoveOperand(NumOps-1); // Remove explicit ST(0) operand in handleOneArgFP()
1036 unsigned NumOps = MI->getDesc().getNumOperands(); in handleOneArgFPRW() local
1037 assert(NumOps >= 2 && "FPRW instructions must have 2 ops!!"); in handleOneArgFPRW()
1378 unsigned NumOps = 0; in handleSpecialFP() local
1383 i != e && MI->getOperand(i).isImm(); i += 1 + NumOps) { in handleSpecialFP()
1386 NumOps = InlineAsm::getNumOperandRegisters(Flags); in handleSpecialFP()
1387 if (NumOps != 1) in handleSpecialFP()
/minix3/external/bsd/llvm/dist/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp72 unsigned NumOps = 1; in CGIOperandList() local
94 NumOps = NumArgs; in CGIOperandList()
120 MIOperandNo, NumOps, MIOpInfo)); in CGIOperandList()
121 MIOperandNo += NumOps; in CGIOperandList()
H A DDAGISelMatcherEmitter.cpp664 unsigned NumOps = P.getNumOperands(); in EmitPredicateFunctions() local
667 ++NumOps; // Get the chained node too. in EmitPredicateFunctions()
670 OS << " Result.resize(NextRes+" << NumOps << ");\n"; in EmitPredicateFunctions()
685 for (unsigned i = 0; i != NumOps; ++i) in EmitPredicateFunctions()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.cpp663 unsigned NumOps = OldMI->getNumOperands(); in finishConvertToThreeAddress() local
664 for (unsigned I = 1; I < NumOps; ++I) { in finishConvertToThreeAddress()
682 unsigned NumOps = MI->getNumOperands(); in convertToThreeAddress() local
712 for (unsigned I = 2; I < NumOps; ++I) in convertToThreeAddress()
844 unsigned NumOps = MI->getNumExplicitOperands(); in foldMemoryOperandImpl() local
845 if (OpNum == NumOps - 1) { in foldMemoryOperandImpl()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp576 unsigned NumOps = PHI.getNumOperands(); in visitPHINode() local
578 Res[I] = Builder.CreatePHI(VT->getElementType(), NumOps, in visitPHINode()
581 for (unsigned I = 0; I < NumOps; ++I) { in visitPHINode()

123