Home
last modified time | relevance | path

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

12345678910

/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DUser.h76 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()
DConstant.h46 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/
DUser.h70 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()
DConstant.h47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument
48 : User(ty, vty, Ops, NumOps) {} in Constant()
DInlineAsm.h269 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/
DUser.h73 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()
DDerivedUser.h37 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, in DerivedUser() argument
39 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {} in DerivedUser()
DConstant.h43 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/
DUser.h73 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()
DDerivedUser.h37 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, in DerivedUser() argument
39 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {} in DerivedUser()
DConstant.h43 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() argument
44 : User(ty, vty, Ops, NumOps) {} in Constant()
DInlineAsm.h269 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/
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;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCTargetDesc.cpp142 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/
DMipsMCTargetDesc.cpp127 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/
DMipsMCTargetDesc.cpp142 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/
DAMDGPURegisterBankInfo.h132 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/
Dlib.rs67 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/
DMachineRegisterInfo.cpp166 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()
DCallingConvLower.cpp123 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/
DX86BaseInfo.h631 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/
DAMDGPUEmitPrintf.cpp226 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/
DMachineRegisterInfo.cpp231 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/
DMachineRegisterInfo.cpp231 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/
DThumb2SizeReduction.cpp767 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 …]

12345678910