/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | User.h | 76 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument 78 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in User() 79 NumUserOperands = NumOps; in User() 183 void setGlobalVariableNumOperands(unsigned NumOps) { in setGlobalVariableNumOperands() argument 184 assert(NumOps <= 1 && "GlobalVariable can only have 0 or 1 operands"); in setGlobalVariableNumOperands() 185 NumUserOperands = NumOps; in setGlobalVariableNumOperands() 191 void setNumHungOffUseOperands(unsigned NumOps) { in setNumHungOffUseOperands() argument 193 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in setNumHungOffUseOperands() 194 NumUserOperands = NumOps; in setNumHungOffUseOperands()
|
D | Constant.h | 46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument 47 : User(ty, vty, Ops, NumOps) {} in Constant()
|
/external/llvm/include/llvm/IR/ |
D | User.h | 70 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument 72 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in User() 73 NumUserOperands = NumOps; in User() 170 void setGlobalVariableNumOperands(unsigned NumOps) { in setGlobalVariableNumOperands() argument 171 assert(NumOps <= 1 && "GlobalVariable can only have 0 or 1 operands"); in setGlobalVariableNumOperands() 172 NumUserOperands = NumOps; in setGlobalVariableNumOperands() 178 void setNumHungOffUseOperands(unsigned NumOps) { in setNumHungOffUseOperands() argument 180 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in setNumHungOffUseOperands() 181 NumUserOperands = NumOps; in setNumHungOffUseOperands()
|
D | Constant.h | 47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument 48 : User(ty, vty, Ops, NumOps) {} in Constant()
|
D | InlineAsm.h | 269 static unsigned getFlagWord(unsigned Kind, unsigned NumOps) { in getFlagWord() argument 270 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!"); in getFlagWord() 272 return Kind | (NumOps << 3); in getFlagWord()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | User.h | 74 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument 76 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in User() 77 NumUserOperands = NumOps; in User() 208 void setGlobalVariableNumOperands(unsigned NumOps) { in setGlobalVariableNumOperands() argument 209 assert(NumOps <= 1 && "GlobalVariable can only have 0 or 1 operands"); in setGlobalVariableNumOperands() 210 NumUserOperands = NumOps; in setGlobalVariableNumOperands() 216 void setNumHungOffUseOperands(unsigned NumOps) { in setNumHungOffUseOperands() argument 218 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in setNumHungOffUseOperands() 219 NumUserOperands = NumOps; in setNumHungOffUseOperands()
|
D | DerivedUser.h | 38 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, in DerivedUser() argument 40 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {} in DerivedUser()
|
D | Constant.h | 44 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument 45 : User(ty, vty, Ops, NumOps) {} in Constant()
|
D | InlineAsm.h | 269 static unsigned getFlagWord(unsigned Kind, unsigned NumOps) { in getFlagWord() argument 270 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!"); in getFlagWord() 272 return Kind | (NumOps << 3); in getFlagWord()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CodeEmitter.cpp | 159 unsigned NumOps = Desc.getNumOperands(); in determineREX() local 160 if (NumOps) { in determineREX() 161 bool isTwoAddr = NumOps > 1 && in determineREX() 166 for (unsigned e = NumOps; i != e; ++i) { in determineREX() 184 for (unsigned e = NumOps; i != e; ++i) { in determineREX() 196 for (; i != NumOps; ++i) { in determineREX() 213 if (NumOps > e && X86InstrInfo::isX86_64ExtendedReg(MI.getOperand(e))) in determineREX() 230 for (unsigned e = NumOps; i != e; ++i) { in determineREX() 717 unsigned NumOps = Desc->getNumOperands(); in emitInstruction() local 719 if (NumOps > 1 && Desc->getOperandConstraint(1, MCOI::TIED_TO) != -1) in emitInstruction() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAG.h | 520 const SDUse *Ops, unsigned NumOps); 522 const SDValue *Ops, unsigned NumOps); 525 const SDValue *Ops, unsigned NumOps); 527 const SDValue *Ops, unsigned NumOps); 529 const SDValue *Ops, unsigned NumOps); 630 const SDValue *Ops, unsigned NumOps, 636 const SDValue *Ops, unsigned NumOps, 642 const SDValue *Ops, unsigned NumOps, 646 SDValue getMergeValues(const SDValue *Ops, unsigned NumOps, DebugLoc dl); 716 const SDValue *Ops, unsigned NumOps); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCTargetDesc.cpp | 134 unsigned NumOps = Inst.getNumOperands(); in evaluateBranch() local 135 if (NumOps == 0) in evaluateBranch() 137 switch (Info->get(Inst.getOpcode()).OpInfo[NumOps - 1].OperandType) { in evaluateBranch() 141 Target = Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch() 145 Target = Addr + Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCTargetDesc.cpp | 127 unsigned NumOps = Inst.getNumOperands(); in evaluateBranch() local 128 if (NumOps == 0) in evaluateBranch() 130 switch (Info->get(Inst.getOpcode()).OpInfo[NumOps - 1].OperandType) { in evaluateBranch() 134 Target = Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch() 138 Target = Addr + Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch()
|
/external/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 166 unsigned NumOps = MI->getNumOperands(); in verifyUseList() local 167 if (!(MO >= MO0 && MO < MO0+NumOps)) { in verifyUseList() 270 unsigned NumOps) { in moveOperands() argument 271 assert(Src != Dst && NumOps && "Noop moveOperands"); in moveOperands() 275 if (Dst >= Src && Dst < Src + NumOps) { in moveOperands() 277 Dst += NumOps - 1; in moveOperands() 278 Src += NumOps - 1; in moveOperands() 307 } while (--NumOps); in moveOperands()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/ |
D | X86MCCodeEmitter.cpp | 631 unsigned NumOps = MI.getNumOperands(); in DetermineREXPrefix() local 633 bool isTwoAddr = NumOps > 1 && in DetermineREXPrefix() 638 for (; i != NumOps; ++i) { in DetermineREXPrefix() 656 for (; i != NumOps; ++i) { in DetermineREXPrefix() 668 for (; i != NumOps; ++i) { in DetermineREXPrefix() 685 if (NumOps > e && MI.getOperand(e).isReg() && in DetermineREXPrefix() 704 for (unsigned e = NumOps; i != e; ++i) { in DetermineREXPrefix() 850 unsigned NumOps = Desc.getNumOperands(); in EncodeInstruction() local 852 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) != -1) in EncodeInstruction() 854 else if (NumOps > 2 && Desc.getOperandConstraint(NumOps-1, MCOI::TIED_TO)== 0) in EncodeInstruction() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 329 const SDValue *Ops, unsigned NumOps) { in AddNodeIDOperands() argument 330 for (; NumOps; --NumOps, ++Ops) { in AddNodeIDOperands() 339 const SDUse *Ops, unsigned NumOps) { in AddNodeIDOperands() argument 340 for (; NumOps; --NumOps, ++Ops) { in AddNodeIDOperands() 736 const SDValue *Ops,unsigned NumOps, in FindModifiedNodeSlot() argument 742 AddNodeIDNode(ID, N->getOpcode(), N->getVTList(), Ops, NumOps); in FindModifiedNodeSlot() 4021 SDValue SelectionDAG::getMergeValues(const SDValue *Ops, unsigned NumOps, in getMergeValues() argument 4023 if (NumOps == 1) in getMergeValues() 4027 VTs.reserve(NumOps); in getMergeValues() 4028 for (unsigned i = 0; i < NumOps; ++i) in getMergeValues() [all …]
|
D | LegalizeTypes.cpp | 419 for (unsigned i = 0, NumOps = I->getNumOperands(); i < NumOps; ++i) in run() local 1019 unsigned NumOps = N->getNumOperands(); in LibCallify() local 1021 if (NumOps == 0) { in LibCallify() 1023 } else if (NumOps == 1) { in LibCallify() 1026 } else if (NumOps == 2) { in LibCallify() 1030 SmallVector<SDValue, 8> Ops(NumOps); in LibCallify() 1031 for (unsigned i = 0; i < NumOps; ++i) in LibCallify() 1034 return MakeLibCall(LC, N->getValueType(0), &Ops[0], NumOps, isSigned, dl); in LibCallify() 1040 const SDValue *Ops, unsigned NumOps, in MakeLibCall() argument 1043 Args.reserve(NumOps); in MakeLibCall() [all …]
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86BaseInfo.h | 631 unsigned NumOps = Desc.getNumOperands(); in getOperandBias() local 633 if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0) in getOperandBias() 635 else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias() 640 else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 && in getOperandBias() 641 Desc.getOperandConstraint(NumOps - 1, MCOI::TIED_TO) == 1) in getOperandBias() 645 else if (NumOps > 2 && Desc.getOperandConstraint(NumOps - 2, MCOI::TIED_TO) == 0) in getOperandBias()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | CallingConvLower.cpp | 122 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 233 unsigned NumOps = MI->getNumOperands(); in verifyUseList() local 234 if (!(MO >= MO0 && MO < MO0+NumOps)) { in verifyUseList() 337 unsigned NumOps) { in moveOperands() argument 338 assert(Src != Dst && NumOps && "Noop moveOperands"); in moveOperands() 342 if (Dst >= Src && Dst < Src + NumOps) { in moveOperands() 344 Dst += NumOps - 1; in moveOperands() 345 Src += NumOps - 1; in moveOperands() 374 } while (--NumOps); in moveOperands()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | Thumb2SizeReduction.cpp | 629 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local 630 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceTo2Addr() 631 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceTo2Addr() 655 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local 657 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceTo2Addr() 719 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local 720 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceToNarrow() 721 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceToNarrow() 745 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local 747 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceToNarrow() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | InlineAsm.h | 220 static unsigned getFlagWord(unsigned Kind, unsigned NumOps) { 221 assert(((NumOps << 3) & ~0xffff) == 0 && "Too many inline asm operands!"); 223 return Kind | (NumOps << 3);
|
D | Constant.h | 46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument 47 : User(ty, vty, Ops, NumOps) {} in Constant()
|
/external/llvm/lib/Target/ARM/ |
D | Thumb2SizeReduction.cpp | 767 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local 768 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceTo2Addr() 769 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceTo2Addr() 793 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() local 795 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceTo2Addr() 862 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local 863 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceToNarrow() 864 if (HasCC && MI->getOperand(NumOps-1).isDead()) in ReduceToNarrow() 888 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() local 890 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceToNarrow() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/ |
D | SparcISelDAGToDAG.cpp | 161 unsigned NumOps = N->getNumOperands(); in tryInlineAsm() local 172 SDValue Glue = N->getGluedNode() ? N->getOperand(NumOps-1) in tryInlineAsm() 177 for(unsigned i = 0, e = N->getGluedNode() ? NumOps - 1 : NumOps; i < e; ++i) { in tryInlineAsm() 222 assert((i+2 < NumOps) && "Invalid number of operands in inline asm"); in tryInlineAsm()
|