/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/llvm-project/llvm/include/llvm/IR/ |
D | User.h | 73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument 75 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in User() 76 NumUserOperands = NumOps; in User() 207 void setGlobalVariableNumOperands(unsigned NumOps) { in setGlobalVariableNumOperands() argument 208 assert(NumOps <= 1 && "GlobalVariable can only have 0 or 1 operands"); in setGlobalVariableNumOperands() 209 NumUserOperands = NumOps; in setGlobalVariableNumOperands() 215 void setNumHungOffUseOperands(unsigned NumOps) { in setNumHungOffUseOperands() argument 217 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in setNumHungOffUseOperands() 218 NumUserOperands = NumOps; in setNumHungOffUseOperands()
|
D | DerivedUser.h | 37 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, in DerivedUser() argument 39 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {} in DerivedUser()
|
D | Constant.h | 43 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument 44 : User(ty, vty, Ops, NumOps) {} in Constant()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | User.h | 73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument 75 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in User() 76 NumUserOperands = NumOps; in User() 207 void setGlobalVariableNumOperands(unsigned NumOps) { in setGlobalVariableNumOperands() argument 208 assert(NumOps <= 1 && "GlobalVariable can only have 0 or 1 operands"); in setGlobalVariableNumOperands() 209 NumUserOperands = NumOps; in setGlobalVariableNumOperands() 215 void setNumHungOffUseOperands(unsigned NumOps) { in setNumHungOffUseOperands() argument 217 assert(NumOps < (1u << NumUserOperandsBits) && "Too many operands"); in setNumHungOffUseOperands() 218 NumUserOperands = NumOps; in setNumHungOffUseOperands()
|
D | DerivedUser.h | 37 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, in DerivedUser() argument 39 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {} in DerivedUser()
|
D | Constant.h | 43 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument 44 : 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-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.h | 123 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;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCTargetDesc.cpp | 142 unsigned NumOps = Inst.getNumOperands(); in evaluateBranch() local 143 if (NumOps == 0) in evaluateBranch() 145 switch (Info->get(Inst.getOpcode()).OpInfo[NumOps - 1].OperandType) { in evaluateBranch() 151 Target = Region + Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch() 156 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-project/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCTargetDesc.cpp | 142 unsigned NumOps = Inst.getNumOperands(); in evaluateBranch() local 143 if (NumOps == 0) in evaluateBranch() 145 switch (Info->get(Inst.getOpcode()).OpInfo[NumOps - 1].OperandType) { in evaluateBranch() 151 Target = Region + Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch() 156 Target = Addr + Inst.getOperand(NumOps - 1).getImm(); in evaluateBranch()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPURegisterBankInfo.h | 132 template <unsigned NumOps> 134 int8_t RegBanks[NumOps]; 138 template <unsigned NumOps> 141 const std::array<unsigned, NumOps> RegSrcOpIdx, 142 ArrayRef<OpRegBankEntry<NumOps>> Table) const;
|
/external/rust/crates/num-traits/src/ |
D | lib.rs | 67 pub trait Num: PartialEq + Zero + One + NumOps { 101 pub trait NumOps<Rhs = Self, Output = Self>: interface 110 impl<T, Rhs, Output> NumOps<Rhs, Output> for T where 123 pub trait NumRef: Num + for<'r> NumOps<&'r Self> {} 124 impl<T> NumRef for T where T: Num + for<'r> NumOps<&'r T> {} 130 pub trait RefNum<Base>: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base> {} 131 impl<T, Base> RefNum<Base> for T where T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base> {}
|
/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()
|
D | CallingConvLower.cpp | 123 unsigned NumOps = Outs.size(); in AnalyzeCallOperands() local 124 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/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/llvm-project/llvm/lib/Transforms/Utils/ |
D | AMDGPUEmitPrintf.cpp | 226 auto NumOps = Args.size(); in emitAMDGPUPrintfCall() local 227 assert(NumOps >= 1); in emitAMDGPUPrintfCall() 234 Desc = appendString(Builder, Desc, Fmt, NumOps == 1); in emitAMDGPUPrintfCall() 239 for (unsigned int i = 1; i != NumOps; ++i) { in emitAMDGPUPrintfCall() 240 bool IsLast = i == NumOps - 1; in emitAMDGPUPrintfCall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 231 unsigned NumOps = MI->getNumOperands(); in verifyUseList() local 232 if (!(MO >= MO0 && MO < MO0+NumOps)) { in verifyUseList() 335 unsigned NumOps) { in moveOperands() argument 336 assert(Src != Dst && NumOps && "Noop moveOperands"); in moveOperands() 340 if (Dst >= Src && Dst < Src + NumOps) { in moveOperands() 342 Dst += NumOps - 1; in moveOperands() 343 Src += NumOps - 1; in moveOperands() 372 } while (--NumOps); in moveOperands()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineRegisterInfo.cpp | 231 unsigned NumOps = MI->getNumOperands(); in verifyUseList() local 232 if (!(MO >= MO0 && MO < MO0+NumOps)) { in verifyUseList() 335 unsigned NumOps) { in moveOperands() argument 336 assert(Src != Dst && NumOps && "Noop moveOperands"); in moveOperands() 340 if (Dst >= Src && Dst < Src + NumOps) { in moveOperands() 342 Dst += NumOps - 1; in moveOperands() 343 Src += NumOps - 1; in moveOperands() 372 } while (--NumOps); in moveOperands()
|
/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 …]
|