Home
last modified time | relevance | path

Searched refs:NumArgs (Results 1 – 25 of 51) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBSymbolTypeFunctionSig.cpp81 uint32_t NumArgs = SigArguments->getChildCount(); in isCVarArgs() local
82 if (NumArgs == 0) in isCVarArgs()
84 auto Last = SigArguments->getChildAtIndex(NumArgs - 1); in isCVarArgs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FixupBWInsts.cpp301 unsigned NumArgs = MI->getNumOperands(); in tryReplaceLoad() local
302 for (unsigned i = 1; i < NumArgs; ++i) in tryReplaceLoad()
364 unsigned NumArgs = MI->getNumOperands(); in tryReplaceExtend() local
365 for (unsigned i = 1; i < NumArgs; ++i) in tryReplaceExtend()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitCodes.cpp76 if (unsigned NumArgs = Op.NumArguments()) { in PrintExpression() local
78 for (unsigned i = 0; i < NumArgs; ++i) { in PrintExpression()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h130 unsigned getCallCost(FunctionType *FTy, int NumArgs, const User *U) { in getCallCost() argument
137 if (NumArgs < 0) in getCallCost()
140 NumArgs = FTy->getNumParams(); in getCallCost()
142 return TTI::TCC_Basic * (NumArgs + 1); in getCallCost()
715 unsigned getCallCost(const Function *F, int NumArgs, const User *U) { in getCallCost() argument
718 if (NumArgs < 0) in getCallCost()
721 NumArgs = F->arg_size(); in getCallCost()
734 return static_cast<T *>(this)->getCallCost(F->getFunctionType(), NumArgs, U); in getCallCost()
DTargetTransformInfo.h245 int getCallCost(FunctionType *FTy, int NumArgs = -1,
252 int getCallCost(const Function *F, int NumArgs = -1,
1182 virtual int getCallCost(FunctionType *FTy, int NumArgs, const User *U) = 0;
1183 virtual int getCallCost(const Function *F, int NumArgs, const User *U) = 0;
1423 int getCallCost(FunctionType *FTy, int NumArgs, const User *U) override { in getCallCost() argument
1424 return Impl.getCallCost(FTy, NumArgs, U); in getCallCost()
1426 int getCallCost(const Function *F, int NumArgs, const User *U) override { in getCallCost() argument
1427 return Impl.getCallCost(F, NumArgs, U); in getCallCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h1213 unsigned NumArgs; variable
1216 : TypedInit(IK_VarDefInit, RecordRecTy::get(Class)), Class(Class), NumArgs(N) {} in VarDefInit()
1240 assert(i < NumArgs && "Argument index out of range!"); in getArg()
1247 const_iterator args_end () const { return args_begin() + NumArgs; } in args_end()
1249 size_t args_size () const { return NumArgs; } in args_size()
1250 bool args_empty() const { return NumArgs == 0; } in args_empty()
1252 ArrayRef<Init *> args() const { return makeArrayRef(args_begin(), NumArgs); } in args()
1308 unsigned NumArgs; variable
1311 DagInit(Init *V, StringInit *VN, unsigned NumArgs, unsigned NumArgNames) in DagInit() argument
1313 NumArgs(NumArgs), NumArgNames(NumArgNames) {} in DagInit()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DFunction.h74 size_t NumArgs; variable
717 return Arguments + NumArgs; in arg_end()
721 return Arguments + NumArgs; in arg_end()
725 assert (i < NumArgs && "getArg() out of range!"); in getArg()
739 size_t arg_size() const { return NumArgs; } in arg_size()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp195 const unsigned NumArgs = F->arg_size(); in ffiInvoke() local
199 if (ArgVals.size() > NumArgs && F->isVarArg()) { in ffiInvoke()
206 std::vector<ffi_type*> args(NumArgs); in ffiInvoke()
218 SmallVector<void*, 16> values(NumArgs); in ffiInvoke()
230 if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, NumArgs, rtype, args.data()) == in ffiInvoke()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp528 unsigned NumArgs = CI.getNumArgOperands(); in splitCall() local
530 ValueVector ScalarOperands(NumArgs); in splitCall()
531 SmallVector<Scatterer, 8> Scattered(NumArgs); in splitCall()
533 Scattered.resize(NumArgs); in splitCall()
537 for (unsigned I = 0; I != NumArgs; ++I) { in splitCall()
548 ValueVector ScalarCallOps(NumArgs); in splitCall()
557 for (unsigned J = 0; J != NumArgs; ++J) { in splitCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp868 unsigned NumArgs, const Value *Callee, in lowerCallOperands() argument
871 Args.reserve(NumArgs); in lowerCallOperands()
875 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs; ArgI != ArgE; ++ArgI) { in lowerCallOperands()
889 CLI.setCallee(CI->getCallingConv(), RetTy, Callee, std::move(Args), NumArgs); in lowerCallOperands()
920 unsigned NumArgs = NumArgsVal->getZExtValue(); in selectPatchpoint() local
925 assert(I->getNumArgOperands() >= NumMetaOpers + NumArgs && in selectPatchpoint()
929 unsigned NumCallArgs = IsAnyRegCC ? 0 : NumArgs; in selectPatchpoint()
980 unsigned NumCallRegArgs = IsAnyRegCC ? NumArgs : CLI.OutRegs.size(); in selectPatchpoint()
989 for (unsigned i = NumMetaOpers, e = NumMetaOpers + NumArgs; i != e; ++i) { in selectPatchpoint()
1002 if (!addStackMapLiveVars(Ops, I, NumMetaOpers + NumArgs)) in selectPatchpoint()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInst.h430 static InstCall *create(Cfg *Func, SizeT NumArgs, Variable *Dest,
439 InstCall(Func, NumArgs, Dest, CallTarget, HasTailCall,
455 InstCall(Cfg *Func, SizeT NumArgs, Variable *Dest, Operand *CallTarget, in InstCall() argument
458 : InstHighLevel(Func, Kind, NumArgs + 1, Dest), HasTailCall(HasTailCall), in InstCall()
623 static InstIntrinsic *create(Cfg *Func, SizeT NumArgs, Variable *Dest, in create() argument
626 InstIntrinsic(Func, NumArgs, Dest, Info); in create()
642 InstIntrinsic(Cfg *Func, SizeT NumArgs, Variable *Dest, in InstIntrinsic() argument
644 : InstHighLevel(Func, Inst::Intrinsic, NumArgs, Dest), Info(Info) {} in InstIntrinsic()
DIceASanInstrumentation.cpp437 constexpr SizeT NumArgs = 2; in instrumentAccess() local
440 auto *Call = InstCall::create(Context.getNode()->getCfg(), NumArgs, Void, in instrumentAccess()
475 constexpr SizeT NumArgs = 3; in instrumentStart() local
478 auto *Call = InstCall::create(Func, NumArgs, Void, ShadowMemInit, NoTailCall); in instrumentStart()
DIceConverter.cpp556 unsigned NumArgs = Instr->getNumArgOperands(); in convertCallInstruction() local
569 Func.get(), NumArgs, Dest, CallTarget, Info->Info); in convertCallInstruction()
570 for (unsigned i = 0; i < NumArgs; ++i) { in convertCallInstruction()
583 Func.get(), NumArgs, Dest, CallTarget, Instr->isTailCall()); in convertCallInstruction()
584 for (unsigned i = 0; i < NumArgs; ++i) { in convertCallInstruction()
DWasmTranslator.cpp1063 const auto NumArgs = Sig->parameter_count(); in CallDirect() local
1064 LOG(out << " number of args: " << NumArgs << "\n"); in CallDirect()
1077 auto *Call = InstCall::create(Func, NumArgs, Dest, TargetOperand, in CallDirect()
1079 for (uint32_t i = 0; i < NumArgs; ++i) { in CallDirect()
1096 const auto NumArgs = Sig->parameter_count(); in CallImport() local
1097 LOG(out << " number of args: " << NumArgs << "\n"); in CallImport()
1117 InstCall::create(Func, NumArgs, Dest, TargetOperand, NoTailCall); in CallImport()
1118 for (uint32_t i = 0; i < NumArgs; ++i) { in CallImport()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp240 unsigned NumArgs, in LLVMRunFunction() argument
245 ArgVec.reserve(NumArgs); in LLVMRunFunction()
246 for (unsigned I = 0; I != NumArgs; ++I) in LLVMRunFunction()
DExecutionEngine.cpp434 unsigned NumArgs = Fn->getFunctionType()->getNumParams(); in runFunctionAsMain() local
439 if (NumArgs > 3) in runFunctionAsMain()
441 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty) in runFunctionAsMain()
443 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty) in runFunctionAsMain()
445 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
453 if (NumArgs) { in runFunctionAsMain()
455 if (NumArgs > 1) { in runFunctionAsMain()
460 if (NumArgs > 2) { in runFunctionAsMain()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DFastISel.h509 bool lowerCallTo(const CallInst *CI, MCSymbol *Symbol, unsigned NumArgs);
511 unsigned NumArgs);
596 bool lowerCallOperands(const CallInst *CI, unsigned ArgIdx, unsigned NumArgs,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCallingConvLower.cpp88 unsigned NumArgs = Ins.size(); in AnalyzeFormalArguments() local
90 for (unsigned i = 0; i != NumArgs; ++i) { in AnalyzeFormalArguments()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFunction.cpp265 NumArgs(Ty->getNumParams()) { in Function()
303 if (NumArgs > 0) { in BuildLazyArguments()
304 Arguments = std::allocator<Argument>().allocate(NumArgs); in BuildLazyArguments()
305 for (unsigned i = 0, e = NumArgs; i != e; ++i) { in BuildLazyArguments()
324 for (Argument &A : makeArgArray(Arguments, NumArgs)) { in clearArguments()
328 std::allocator<Argument>().deallocate(Arguments, NumArgs); in clearArguments()
337 assert(llvm::all_of(makeArgArray(Arguments, NumArgs), in stealArgumentListFrom()
352 for (Argument &A : makeArgArray(Arguments, NumArgs)) { in stealArgumentListFrom()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/
DOptParser.td91 int NumArgs = 0;
114 int NumArgs = numargs;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DExecutionEngine.h123 unsigned NumArgs,
DCore.h3593 LLVMValueRef *Args, unsigned NumArgs,
3597 LLVMValueRef *Args, unsigned NumArgs,
3612 LLVMValueRef *Args, unsigned NumArgs,
3615 LLVMValueRef *Args, unsigned NumArgs,
3888 LLVMValueRef *Args, unsigned NumArgs,
3891 LLVMValueRef *Args, unsigned NumArgs,
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLKernel.cpp36 case KernelInfo::NumArgs: in getInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp164 unsigned NumArgs = Params.size(); in DeleteDeadVarargs() local
184 Args.assign(CS.arg_begin(), CS.arg_begin() + NumArgs); in DeleteDeadVarargs()
190 for (unsigned ArgNo = 0; ArgNo < NumArgs; ++ArgNo) in DeleteDeadVarargs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp190 unsigned NumArgs = Args.size(); in handleAssignments() local
191 for (unsigned i = 0; i != NumArgs; ++i) { in handleAssignments()

123