Home
last modified time | relevance | path

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

123

/external/llvm/lib/CodeGen/
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()
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()
DMachineInstr.cpp596 if (unsigned NumOps = MCID->getNumOperands() + in MachineInstr() local
598 CapOperands = OperandCapacity::get(NumOps); in MachineInstr()
664 unsigned NumOps, MachineRegisterInfo *MRI) { in moveOperands() argument
666 return MRI->moveOperands(Dst, Src, NumOps); in moveOperands()
669 std::memmove(Dst, Src, NumOps * sizeof(MachineOperand)); in moveOperands()
1006 unsigned NumOps; in findInlineAsmFlagIdx() local
1008 i += NumOps) { in findInlineAsmFlagIdx()
1013 NumOps = 1 + InlineAsm::getNumOperandRegisters(FlagMO.getImm()); in findInlineAsmFlagIdx()
1014 if (i + NumOps > OpIdx) { in findInlineAsmFlagIdx()
1285 unsigned NumOps; in findTiedOperandIdx() local
[all …]
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h632 unsigned NumOps = Desc.getNumOperands(); in getOperandBias() local
634 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0) in getOperandBias()
636 else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias()
641 else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias()
642 Desc.getOperandConstraint(NumOps - 1, MCOI::TIED_TO) == 1) in getOperandBias()
646 else if (NumOps > 2 && Desc.getOperandConstraint(NumOps - 2, MCOI::TIED_TO) == 0) in getOperandBias()
DX86MCCodeEmitter.cpp711 unsigned NumOps = Desc.getNumOperands(); in EmitVEXOpcodePrefix() local
861 unsigned RcOperand = NumOps-1; in EmitVEXOpcodePrefix()
996 unsigned NumOps = MI.getNumOperands(); in DetermineREXPrefix() local
998 bool isTwoAddr = NumOps > 1 && in DetermineREXPrefix()
1003 for (; i != NumOps; ++i) { in DetermineREXPrefix()
1020 for (; i != NumOps; ++i) { in DetermineREXPrefix()
1032 for (; i != NumOps; ++i) { in DetermineREXPrefix()
1050 if (NumOps > e && MI.getOperand(e).isReg() && in DetermineREXPrefix()
1069 for (unsigned e = NumOps; i != e; ++i) { in DetermineREXPrefix()
1166 unsigned NumOps = Desc.getNumOperands(); in EncodeInstruction() local
[all …]
/external/llvm/include/llvm/IR/
DGlobalObject.h30 GlobalObject(PointerType *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalObject() argument
32 : GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name), ObjComdat(nullptr) { in GlobalObject()
DInlineAsm.h260 static unsigned getFlagWord(unsigned Kind, unsigned NumOps) { in getFlagWord() argument
261 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!"); in getFlagWord()
263 return Kind | (NumOps << 3); in getFlagWord()
DConstant.h47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument
48 : User(ty, vty, Ops, NumOps) {} in Constant()
DUser.h51 User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps) in User() argument
53 NumOperands = NumOps; in User()
DGlobalValue.h64 GlobalValue(PointerType *Ty, ValueTy VTy, Use *Ops, unsigned NumOps, in GlobalValue() argument
66 : Constant(Ty, VTy, Ops, NumOps), Linkage(Linkage), in GlobalValue()
DInstruction.h507 Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
509 Instruction(Type *Ty, unsigned iType, Use *Ops, unsigned NumOps,
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()
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp700 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local
701 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceTo2Addr()
702 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceTo2Addr()
726 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local
728 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceTo2Addr()
796 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local
797 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceToNarrow()
798 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceToNarrow()
822 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local
824 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceToNarrow()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
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()
DLegalizeTypes.cpp425 for (unsigned i = 0, NumOps = I->getNumOperands(); i < NumOps; ++i) in run() local
1039 unsigned NumOps = N->getNumOperands(); in LibCallify() local
1041 if (NumOps == 0) { in LibCallify()
1044 } else if (NumOps == 1) { in LibCallify()
1048 } else if (NumOps == 2) { in LibCallify()
1053 SmallVector<SDValue, 8> Ops(NumOps); in LibCallify()
1054 for (unsigned i = 0; i < NumOps; ++i) in LibCallify()
1058 &Ops[0], NumOps, isSigned, dl).first; in LibCallify()
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()
933 unsigned NumOps = Node->getNumOperands(); in EmitSpecialNode() local
934 if (Node->getOperand(NumOps-1).getValueType() == MVT::Glue) in EmitSpecialNode()
935 --NumOps; // Ignore the glue operand. in EmitSpecialNode()
957 for (unsigned i = InlineAsm::Op_FirstOperand; i != NumOps;) { in EmitSpecialNode()
DSelectionDAG.cpp4500 unsigned NumOps = Ops.size(); in getAtomic() local
4501 SDUse *DynOps = NumOps > 4 ? OperandAllocator.Allocate<SDUse>(NumOps) in getAtomic()
4506 Ops.data(), DynOps, NumOps, MMO, in getAtomic()
5114 unsigned NumOps = Ops.size(); in getNode() local
5115 switch (NumOps) { in getNode()
5126 assert(NumOps == 5 && "SELECT_CC takes 5 operands!"); in getNode()
5136 assert(NumOps == 5 && "BR_CC takes 5 operands!"); in getNode()
5202 unsigned NumOps = Ops.size(); in getNode() local
5210 if (NumOps == 1) { in getNode()
5213 } else if (NumOps == 2) { in getNode()
[all …]
/external/llvm/lib/IR/
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()
35 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() argument
37 : User(ty, Value::InstructionVal + it, Ops, NumOps), Parent(nullptr) { in Instruction()
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()
3367 unsigned NumOps = getNumOperands(); in removeCase() local
3371 if (2 + (idx + 1) * 2 != NumOps) { in removeCase()
3372 OL[2 + idx * 2] = OL[NumOps - 2]; in removeCase()
3373 OL[2 + idx * 2 + 1] = OL[NumOps - 1]; in removeCase()
3377 OL[NumOps-2].set(nullptr); in removeCase()
3378 OL[NumOps-2+1].set(nullptr); in removeCase()
3379 NumOperands = NumOps-2; in removeCase()
[all …]
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp415 unsigned NumOps = DefMov->getDesc().getNumOperands(); in adjustCallSequence() local
416 for (unsigned i = NumOps - X86::AddrNumOperands; i != NumOps; ++i) in adjustCallSequence()
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()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp72 unsigned NumOps = 1; in CGIOperandList() local
94 NumOps = NumArgs; in CGIOperandList()
120 MIOperandNo, NumOps, MIOpInfo)); in CGIOperandList()
121 MIOperandNo += NumOps; in CGIOperandList()
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()
/external/llvm/lib/Target/SystemZ/
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()
846 unsigned NumOps = MI->getNumExplicitOperands(); in foldMemoryOperandImpl() local
847 if (OpNum == NumOps - 1) { in foldMemoryOperandImpl()
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp570 unsigned NumOps = PHI.getNumOperands(); in visitPHINode() local
572 Res[I] = Builder.CreatePHI(VT->getElementType(), NumOps, in visitPHINode()
575 for (unsigned I = 0; I < NumOps; ++I) { in visitPHINode()

123