Home
last modified time | relevance | path

Searched refs:ArgCount (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp208 for (unsigned ArgCount = 1; ArgCount < CI->getNumArgOperands() && in lowerPrintfForGpu() local
209 ArgCount <= OpConvSpecifiers.size(); in lowerPrintfForGpu()
210 ArgCount++) { in lowerPrintfForGpu()
211 Value *Arg = CI->getArgOperand(ArgCount); in lowerPrintfForGpu()
227 if (OpConvSpecifiers[ArgCount - 1] == 'x' || in lowerPrintfForGpu()
228 OpConvSpecifiers[ArgCount - 1] == 'X' || in lowerPrintfForGpu()
229 OpConvSpecifiers[ArgCount - 1] == 'u' || in lowerPrintfForGpu()
230 OpConvSpecifiers[ArgCount - 1] == 'o') in lowerPrintfForGpu()
237 CI->setOperand(ArgCount, Arg); in lowerPrintfForGpu()
239 if (OpConvSpecifiers[ArgCount - 1] == 'f') { in lowerPrintfForGpu()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp208 for (unsigned ArgCount = 1; ArgCount < CI->getNumArgOperands() && in lowerPrintfForGpu() local
209 ArgCount <= OpConvSpecifiers.size(); in lowerPrintfForGpu()
210 ArgCount++) { in lowerPrintfForGpu()
211 Value *Arg = CI->getArgOperand(ArgCount); in lowerPrintfForGpu()
227 if (OpConvSpecifiers[ArgCount - 1] == 'x' || in lowerPrintfForGpu()
228 OpConvSpecifiers[ArgCount - 1] == 'X' || in lowerPrintfForGpu()
229 OpConvSpecifiers[ArgCount - 1] == 'u' || in lowerPrintfForGpu()
230 OpConvSpecifiers[ArgCount - 1] == 'o') in lowerPrintfForGpu()
237 CI->setOperand(ArgCount, Arg); in lowerPrintfForGpu()
239 if (OpConvSpecifiers[ArgCount - 1] == 'f') { in lowerPrintfForGpu()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DCompileCommands.cpp380 std::pair<unsigned, unsigned> ArgCount = getArgCount(Opt); in rulesFor() local
390 R.ExactArgs = ArgCount.first; in rulesFor()
391 R.PrefixArgs = ArgCount.second; in rulesFor()
444 unsigned &ArgCount) const { in matchingRule()
458 ArgCount = Count; in matchingRule()
478 unsigned ArgCount = 0; in process() local
479 if (matchingRule(Args[Read], CurrentMode, ArgCount)) { in process()
488 for (unsigned I = 1; Read < Args.size() && I < ArgCount; ++I) { in process()
DCompileCommands.h94 unsigned &ArgCount) const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CallingConv.cpp301 size_t ArgCount = State.getMachineFunction().getFunction().arg_size(); in CC_X86_Intr() local
305 if (ArgCount == 1 && ValNo == 0) { in CC_X86_Intr()
309 } else if (ArgCount == 2 && ValNo == 0) { in CC_X86_Intr()
314 } else if (ArgCount == 2 && ValNo == 1) { in CC_X86_Intr()
326 if (Is64Bit && ArgCount == 2) in CC_X86_Intr()
/external/llvm-project/llvm/lib/Target/X86/
DX86CallingConv.cpp301 size_t ArgCount = State.getMachineFunction().getFunction().arg_size(); in CC_X86_Intr() local
305 if (ArgCount == 1 && ValNo == 0) { in CC_X86_Intr()
309 } else if (ArgCount == 2 && ValNo == 0) { in CC_X86_Intr()
314 } else if (ArgCount == 2 && ValNo == 1) { in CC_X86_Intr()
326 if (Is64Bit && ArgCount == 2) in CC_X86_Intr()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp88 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction() local
90 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount)); in runFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction() local
93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount)); in runFunction()
/external/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.cpp91 const size_t ArgCount = F->getFunctionType()->getNumParams(); in runFunction() local
93 ArgValues.slice(0, std::min(ArgValues.size(), ArgCount)); in runFunction()
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp451 int ArgCount = LLVMGetNumArgOperands(Src); in CloneAttrs() local
452 for (int i = LLVMAttributeReturnIndex; i <= ArgCount; i++) { in CloneAttrs()
520 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
521 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
526 Dst = LLVMBuildInvoke(Builder, Fn, Args.data(), ArgCount, in CloneInstruction()
703 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
704 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
707 Dst = LLVMBuildCall(Builder, Fn, Args.data(), ArgCount, Name); in CloneInstruction()
742 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
743 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
[all …]
/external/llvm-project/llvm/tools/llvm-reduce/deltas/
DReduceArguments.cpp124 int ArgCount = countArguments(Test.getProgram()); in reduceArgumentsDeltaPass() local
125 runDeltaPass(Test, ArgCount, extractArgumentsFromModule); in reduceArgumentsDeltaPass()
/external/llvm/tools/llvm-c-test/
Decho.cpp380 int ArgCount = LLVMGetNumArgOperands(Src); in CloneAttrs() local
381 for (int i = LLVMAttributeReturnIndex; i <= ArgCount; i++) { in CloneAttrs()
448 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
449 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
454 Dst = LLVMBuildInvoke(Builder, Fn, Args.data(), ArgCount, in CloneInstruction()
611 int ArgCount = LLVMGetNumArgOperands(Src); in CloneInstruction() local
612 for (int i = 0; i < ArgCount; i++) in CloneInstruction()
615 Dst = LLVMBuildCall(Builder, Fn, Args.data(), ArgCount, Name); in CloneInstruction()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DObjCSuperDeallocChecker.cpp203 unsigned ArgCount = CE.getNumArgs(); in diagnoseCallArguments() local
204 for (unsigned I = 0; I < ArgCount; I++) { in diagnoseCallArguments()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCSuperDeallocChecker.cpp209 unsigned ArgCount = CE.getNumArgs(); in diagnoseCallArguments() local
210 for (unsigned I = 0; I < ArgCount; I++) { in diagnoseCallArguments()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DProcess.inc240 int ArgCount;
242 CommandLineToArgvW(GetCommandLineW(), &ArgCount);
246 Args.reserve(ArgCount);
261 for (int i = 1; i < ArgCount && !ec; ++i) {
/external/llvm/lib/Support/Windows/
DProcess.inc252 int ArgCount;
254 CommandLineToArgvW(GetCommandLineW(), &ArgCount);
258 Args.reserve(ArgCount);
273 for (int i = 1; i < ArgCount && !ec; ++i) {
/external/mesa3d/src/mesa/main/
Datifragshader.h51 GLuint ArgCount[2]; member
Datifragshader.c406 GLuint count0 = curProg->Instructions[j][i].ArgCount[0]; in _mesa_EndFragmentShaderATI()
407 GLuint count1 = curProg->Instructions[j][i].ArgCount[1]; in _mesa_EndFragmentShaderATI()
698 curI->ArgCount[optype] = arg_count; in _mesa_FragmentOpXATI()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DAvoidBindCheck.cpp265 for (size_t I = 1, ArgCount = BindCall->getNumArgs(); I < ArgCount; ++I) { in buildBindArguments() local
/external/mesa3d/src/mesa/state_tracker/
Dst_atifs_to_tgsi.c367 if (arg >= inst->ArgCount[optype]) { in compile_instruction()
585 for (arg = 0; arg < inst->ArgCount[optype]; arg++) { in st_init_atifs_prog()
/external/mesa3d/src/mesa/swrast/
Ds_atifragshader.c334 for (i = 0; i < inst->ArgCount[optype]; i++) { in execute_shader()
/external/llvm-project/llvm/lib/IR/
DVerifier.cpp4535 unsigned ArgCount = Elem.End - Elem.Begin; in visitIntrinsicCall() local
4537 Assert(ArgCount <= 3 && ArgCount >= 2, in visitIntrinsicCall()
4543 if (ArgCount == 3) in visitIntrinsicCall()
4548 Assert(ArgCount <= 2, "to many arguments"); in visitIntrinsicCall()
4552 Assert(ArgCount == 2, "this attribute should have 2 arguments"); in visitIntrinsicCall()
4556 Assert((ArgCount) == 0, "this attribute has no argument"); in visitIntrinsicCall()
4558 Assert((ArgCount) == 1, "this attribute should have one argument"); in visitIntrinsicCall()
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp2532 unsigned ArgCount = 0, OptCount = 0; in emitArgInfo() local
2535 Arg->getValueAsBit("Optional") ? ++OptCount : ++ArgCount; in emitArgInfo()
2542 OS << ArgCount << ", " << (HasVariadic ? 15 : OptCount); in emitArgInfo()
/external/llvm-project/clang/utils/TableGen/
DClangAttrEmitter.cpp3379 unsigned ArgCount = 0, OptCount = 0; in emitArgInfo() local
3386 Arg->getValueAsBit("Optional") ? ++OptCount : ++ArgCount; in emitArgInfo()
3393 OS << " NumArgs = " << ArgCount << ";\n"; in emitArgInfo()
/external/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2325 uint64_t ArgCount = in RemovePreallocated() local
2350 SmallVector<Value *, 2> ArgAllocas(ArgCount); in RemovePreallocated()

12