Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/llvm-project/mlir/lib/Tools/mlir-lsp-server/
H A DLSPServer.cpp34 void onInitialize(const InitializeParams &params,
36 void onInitialized(const InitializedParams &params);
37 void onShutdown(const NoParams &params, Callback<std::nullptr_t> reply);
42 void onDocumentDidOpen(const DidOpenTextDocumentParams &params);
43 void onDocumentDidClose(const DidCloseTextDocumentParams &params);
44 void onDocumentDidChange(const DidChangeTextDocumentParams &params);
49 void onGoToDefinition(const TextDocumentPositionParams &params,
51 void onReference(const ReferenceParams &params,
57 void onHover(const TextDocumentPositionParams &params,
63 void onDocumentSymbol(const DocumentSymbolParams &params,
[all …]
/llvm-project/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DLSPServer.cpp36 void onInitialize(const InitializeParams &params,
38 void onInitialized(const InitializedParams &params);
39 void onShutdown(const NoParams &params, Callback<std::nullptr_t> reply);
44 void onDocumentDidOpen(const DidOpenTextDocumentParams &params);
45 void onDocumentDidClose(const DidCloseTextDocumentParams &params);
46 void onDocumentDidChange(const DidChangeTextDocumentParams &params);
51 void onGoToDefinition(const TextDocumentPositionParams &params,
53 void onReference(const ReferenceParams &params,
59 void onDocumentLink(const DocumentLinkParams &params,
65 void onHover(const TextDocumentPositionParams &params,
[all …]
/llvm-project/mlir/lib/Tools/tblgen-lsp-server/
H A DLSPServer.cpp34 void onInitialize(const InitializeParams &params,
36 void onInitialized(const InitializedParams &params);
37 void onShutdown(const NoParams &params, Callback<std::nullptr_t> reply);
42 void onDocumentDidOpen(const DidOpenTextDocumentParams &params);
43 void onDocumentDidClose(const DidCloseTextDocumentParams &params);
44 void onDocumentDidChange(const DidChangeTextDocumentParams &params);
49 void onGoToDefinition(const TextDocumentPositionParams &params,
51 void onReference(const ReferenceParams &params,
57 void onDocumentLink(const DocumentLinkParams &params,
63 void onHover(const TextDocumentPositionParams &params,
[all …]
/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_fuchsia.cpp77 } params = {{}, callback, argument}; in LockStuffAndStopTheWorld() local
81 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld() local
84 ScanGlobalRange(begin, end, &params->argument->frontier); in LockStuffAndStopTheWorld()
89 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld() local
92 ScanRangeForPointers(begin, end, &params->argument->frontier, "STACK", in LockStuffAndStopTheWorld()
98 auto params = static_cast<const Params *>(data); in LockStuffAndStopTheWorld() local
101 ScanRangeForPointers(begin, end, &params->argument->frontier, "REGISTERS", in LockStuffAndStopTheWorld()
108 GetAllThreadAllocatorCachesLocked(&params.allocator_caches); in LockStuffAndStopTheWorld()
109 __sanitizer::Sort(params.allocator_caches.data(), in LockStuffAndStopTheWorld()
110 params.allocator_caches.size()); in LockStuffAndStopTheWorld()
[all …]
/llvm-project/clang/test/Analysis/
H A Duninit-val-const-likeness.c10 static void create(const Params * const params, int fooList[]) { in create() argument
12 for (int i = 0; i < params->noOfSymbols; i++) in create()
16 int work(Params * const params) { in work() argument
18 create(params, fooList); in work()
20 for (int i = 0; i < params->noOfSymbols; i++) in work()
26 const Params * params = *pparams; in create2() local
28 for (int i = 0; i < params->noOfSymbols; i++) in create2()
32 int work2(const Params * const params) { in work2() argument
34 create2(&params, fooList); in work2()
36 for (int i = 0; i < params->noOfSymbols; i++) in work2()
[all …]
/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrCDE.td113 class CDE_CX1_Instr<string iname, CX_Params params>
114 : CDE_GPR_Instr<params.Dual, params.Acc, params.Oops,
115 !con(params.Iops1, (ins imm_13b:$imm), params.PredOp),
116 !strconcat(iname, params.PAsm, "\t$coproc, $Rd, $imm"),
117 params.Cstr> {
129 class CDE_CX2_Instr<string iname, CX_Params params>
130 : CDE_GPR_Instr<params.Dual, params.Acc, params.Oops,
131 !con(params.Iops2, (ins imm_9b:$imm), params.PredOp),
132 !strconcat(iname, params.PAsm, "\t$coproc, $Rd, $Rn, $imm"),
133 params.Cstr> {
[all …]
/llvm-project/clang-tools-extra/clangd/test/
H A Dexecute-command.test2 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabi…
4 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///foo.c","l…
6 # CHECK-NEXT: "params": {
30 {"jsonrpc":"2.0","id":3,"method":"workspace/executeCommand","params":{}}
33 {"jsonrpc":"2.0","id":4,"method":"workspace/executeCommand","params":{"command": {}}}
35 {"jsonrpc":"2.0","id":5,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix","…
38 {"jsonrpc":"2.0","id":6,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix","…
41 {"jsonrpc":"2.0","id":7,"method":"workspace/executeCommand","params":{"command":"mycommand"}}
44 {"jsonrpc":"2.0","id":8,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix","…
47 {"jsonrpc":"2.0","id":9,"method":"workspace/executeCommand","params":{"command":"clangd.applyFix","…
[all …]
H A Dversion.test3 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{}}
5 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///foo.c","l…
8 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///foo.c",…
11 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///foo.c"}…
14 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///bar.c","v…
17 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///bar.c"}…
20 {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument":{"uri":"test:///bar.c",…
H A Ddid-change-configuration-params.test4 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabi…
6 {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"compilationData…
8 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///foo.c","l…
10 # CHECK-NEXT: "params": {
16 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///bar.c","l…
18 # CHECK-NEXT: "params": {
24 {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"compilationData…
26 # CHECK-NEXT: "params": {
/llvm-project/mlir/lib/Interfaces/
H A DDataLayoutInterfaces.cpp37 static uint64_t getIndexBitwidth(DataLayoutEntryListRef params) { in getIndexBitwidth() argument
38 if (params.empty()) in getIndexBitwidth()
40 auto attr = cast<IntegerAttr>(params.front().getValue()); in getIndexBitwidth()
46 ArrayRef<DataLayoutEntryInterface> params) { in getDefaultTypeSize() argument
47 llvm::TypeSize bits = getDefaultTypeSizeInBits(type, dataLayout, params); in getDefaultTypeSize()
53 DataLayoutEntryListRef params) { in getDefaultTypeSizeInBits() argument
60 getDefaultPreferredAlignment(et, dataLayout, params) * 8; in getDefaultTypeSizeInBits()
61 llvm::TypeSize innerSize = getDefaultTypeSizeInBits(et, dataLayout, params); in getDefaultTypeSizeInBits()
71 IntegerType::get(type.getContext(), getIndexBitwidth(params))); in getDefaultTypeSizeInBits()
86 return typeInterface.getTypeSizeInBits(dataLayout, params); in getDefaultTypeSizeInBits()
93 findEntryForIntegerType(IntegerType intType,ArrayRef<DataLayoutEntryInterface> params) findEntryForIntegerType() argument
117 getIntegerTypeABIAlignment(IntegerType intType,ArrayRef<DataLayoutEntryInterface> params) getIntegerTypeABIAlignment() argument
132 getFloatTypeABIAlignment(FloatType fltType,const DataLayout & dataLayout,ArrayRef<DataLayoutEntryInterface> params) getFloatTypeABIAlignment() argument
142 getDefaultABIAlignment(Type type,const DataLayout & dataLayout,ArrayRef<DataLayoutEntryInterface> params) getDefaultABIAlignment() argument
177 getIntegerTypePreferredAlignment(IntegerType intType,const DataLayout & dataLayout,ArrayRef<DataLayoutEntryInterface> params) getIntegerTypePreferredAlignment() argument
186 getFloatTypePreferredAlignment(FloatType fltType,const DataLayout & dataLayout,ArrayRef<DataLayoutEntryInterface> params) getFloatTypePreferredAlignment() argument
196 getDefaultPreferredAlignment(Type type,const DataLayout & dataLayout,ArrayRef<DataLayoutEntryInterface> params) getDefaultPreferredAlignment() argument
226 getDefaultIndexBitwidth(Type type,const DataLayout & dataLayout,ArrayRef<DataLayoutEntryInterface> params) getDefaultIndexBitwidth() argument
[all...]
/llvm-project/mlir/lib/IR/
H A DExtensibleDialect.cpp46 static void typeOrAttrPrinter(AsmPrinter &printer, ArrayRef<Attribute> params) { in typeOrAttrPrinter() argument
47 if (params.empty()) in typeOrAttrPrinter()
51 interleaveComma(params, printer.getStream()); in typeOrAttrPrinter()
101 ArrayRef<Attribute> params) in DynamicTypeStorage()
102 : typeDef(typeDef), params(params) {} in DynamicTypeStorage()
105 return typeDef == key.first && params == key.second; in operator ==()
122 ArrayRef<Attribute> params; member
128 ArrayRef<Attribute> params) { in get() argument
131 assert(succeeded(typeDef->verify(emitError, params))); in get()
133 &ctx, typeDef->getTypeID(), typeDef, params); in get()
[all …]
/llvm-project/mlir/include/mlir/Dialect/Utils/
H A DIndexingUtils.h324 TileOffsetRangeIterator(const TileOffsetRangeImpl &params, ElementType index)
325 : params(params), index(index) {}
342 return params.getTileOffsets(index);
348 const TileOffsetRangeImpl params;
383 : params(shape, tileShape, loopOrder), beginValue(params, 0), in StaticTileOffsetRange()
384 pastEndValue(params, params.getMaxLinearIndex()) { in StaticTileOffsetRange()
391 : params(shap
313 TileOffsetRangeIterator(const TileOffsetRangeImpl & params,ElementType index) TileOffsetRangeIterator() argument
337 const TileOffsetRangeImpl params; global() variable
[all...]
/llvm-project/libcxx/test/libcxx/selftest/dsl/
H A Ddsl.sh.py72 params={},
454 ValueError, lambda: param.getActions(self.config, self.litConfig.params)
466 for a in param.getActions(self.config, self.litConfig.params):
471 self.litConfig.params["std"] = "c++03"
479 for a in param.getActions(self.config, self.litConfig.params):
485 self.litConfig.params["std"] = "c++11"
494 for a in param.getActions(self.config, self.litConfig.params):
510 for a in param.getActions(self.config, self.litConfig.params):
518 self.litConfig.params["std"] = "c++03"
526 for a in param.getActions(self.config, self.litConfig.params):
[all …]
/llvm-project/libc/utils/gpu/loader/
H A DMain.cpp129 LaunchParameters params{threads_x, threads_y, threads_z,
133 image.getBufferSize(), params, print_resource_usage);
31 LaunchParameters params = {1, 1, 1, 1, 1, 1}; main() local
/llvm-project/llvm/test/CodeGen/NVPTX/
H A Dsurf-tex.py291 params = {
311 gen_test(template, params)
312 generated_items.append((params["intrinsic"], params["instruction"]))
316 retty=params["retty"], access_ty=get_llvm_surface_access_type(geom)
324 retty=params["retty"], access_ty=get_llvm_surface_access_type(geom)
392 params = {
414 gen_test(template, params)
415 generated_items.append((params["intrinsic"], params["instructio
891 gen_test(template, params) global() argument
[all...]
H A Dld-st-addrrspace.py76 params = {
87 testname = Template("ld_${_volatile}${_space}.${ptx_type}").substitute(params)
88 params["testname"] = testname.replace(".", "_")
98 params["generic_ptr"] = Template(generic_ptr_template).substitute(params)
100 print(Template(load_template).substitute(params))
H A Dwmma.py503 params = {
515 test_params = params
516 test_params["intrinsic"] = Template(intrinsic_template).substitute(params)
518 test_params["instruction"] = Template(instruction_template).substitute(params)
587 params = {
599 test_params = params
600 test_params["intrinsic"] = Template(intrinsic_template).substitute(params)
602 test_params["instruction"] = Template(instruction_template).substitute(params)
659 params = {
669 test_params = params
[all …]
/llvm-project/mlir/lib/Dialect/Ptr/IR/
H A DPtrTypes.cpp32 static SpecAttr getPointerSpec(DataLayoutEntryListRef params, PtrType type) { in getPointerSpec() argument
33 for (DataLayoutEntryInterface entry : params) { in getPointerSpec()
92 DataLayoutEntryListRef params) const { in getABIAlignment()
93 if (SpecAttr spec = getPointerSpec(params, *this)) in getABIAlignment()
102 DataLayoutEntryListRef params) const { in getIndexBitwidth()
103 if (SpecAttr spec = getPointerSpec(params, *this)) { in getIndexBitwidth()
113 DataLayoutEntryListRef params) const { in getTypeSizeInBits()
114 if (SpecAttr spec = getPointerSpec(params, *this)) in getTypeSizeInBits()
124 DataLayoutEntryListRef params) const { in getPreferredAlignment()
125 if (SpecAttr spec = getPointerSpec(params, *thi in getPreferredAlignment()
[all...]
/llvm-project/mlir/tools/mlir-tblgen/
H A DAttrOrTypeFormatGen.cpp88 ParamsDirectiveBase(std::vector<ParameterElement *> &&params) in ParamsDirectiveBase() argument
89 : params(std::move(params)) {} in ParamsDirectiveBase()
92 ArrayRef<ParameterElement *> getParams() const { return params; } in getParams()
95 unsigned getNumParams() const { return params.size(); } in getNumParams()
98 std::vector<ParameterElement *> takeParams() { return std::move(params); } in takeParams()
107 std::vector<ParameterElement *> params; member in __anon50ecb4030111::ParamsDirectiveBase
110 /// This class represents a `params` directive that refers to all parameters
117 /// `params` can be used in place of manually listing all parameters of an
199 /// Generate the parser code for a `params` directiv
304 ArrayRef<AttrOrTypeParameter> params = def.getParameters(); genParser() local
357 if (auto *params = dyn_cast<ParamsDirective>(el)) genElementParser() local
453 ArrayRef<ParameterElement *> params = el->getParams(); genParamsParser() local
673 __anon50ecb4030502(auto params) genOptionalGroupParser() argument
690 } else if (auto *params = dyn_cast<ParamsDirective>(first)) { genOptionalGroupParser() local
744 if (auto *params = dyn_cast<ParamsDirective>(el)) genElementPrinter() local
805 guardOnAny(FmtContext & ctx,MethodBody & os,ParameterRange && params,bool inverted=false) guardOnAny() argument
820 genCommaSeparatedPrinter(ArrayRef<ParameterElement * > params,FmtContext & ctx,MethodBody & os,function_ref<void (ParameterElement *)> extra) genCommaSeparatedPrinter() argument
895 } else if (auto *params = dyn_cast<ParamsDirective>(anchor)) { genOptionalGroupPrinter() local
1039 } else if (auto *params = dyn_cast<ParamsDirective>(el)) { verifyOptionalGroupElements() local
1100 ArrayRef<AttrOrTypeParameter> params = def.getParameters(); parseVariableImpl() local
[all...]
/llvm-project/mlir/lib/Dialect/NVGPU/Utils/
H A DMMAUtils.cpp210 LdMatrixParams params; in getLdMatrixParams() local
212 params.fragmentType = type.vectorType; in getLdMatrixParams()
215 params.targetLayout = NVVM::MMALayout::row; in getLdMatrixParams()
217 params.targetLayout = NVVM::MMALayout::col; in getLdMatrixParams()
220 params.contiguousDimType = transpose ? vector::IteratorType::parallel in getLdMatrixParams()
223 if (params.contiguousDimType == vector::IteratorType::reduction) { in getLdMatrixParams()
224 params.numTiles = (shape[0] / kNumRowsPerTile) * in getLdMatrixParams()
227 params.numTiles = (shape[1] / kNumRowsPerTile) * in getLdMatrixParams()
231 if (params.numTiles == 0) in getLdMatrixParams()
234 return params; in getLdMatrixParams()
239 getLaneIdToLdMatrixMatrixCoord(OpBuilder & builder,Location loc,const LdMatrixParams & params) getLaneIdToLdMatrixMatrixCoord() argument
[all...]
/llvm-project/libc/utils/gpu/loader/amdgpu/
H A DLoader.cpp
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_fuchsia.cpp31 } params = {callback, argument}; in StopTheWorld() local
35 auto params = reinterpret_cast<Params *>(data); in StopTheWorld() local
36 params->callback(SuspendedThreadsListFuchsia(), params->argument); in StopTheWorld()
38 &params); in StopTheWorld()
/llvm-project/llvm/test/tools/llvm-dwarfdump/X86/
H A Dlocstats.ll19 ; CHECK-NEXT: "#params": 2,
20 ; CHECK-NEXT: "#params with source location": 2,
21 ; CHECK-NEXT: "#params with type": 2,
22 ; CHECK-NEXT: "#params with binary location": 2,
48 ; CHECK-NEXT: "#params processed by location statistics": 2,
49 ; CHECK-NEXT: "#params with 0% of parent scope covered by DW_AT_location": 0,
50 ; CHECK-NEXT: "#params with (0%,10%) of parent scope covered by DW_AT_location": 0,
51 ; CHECK-NEXT: "#params with [10%,20%) of parent scope covered by DW_AT_location": 0,
52 ; CHECK-NEXT: "#params with [20%,30%) of parent scope covered by DW_AT_location": 0,
53 ; CHECK-NEXT: "#params with [30%,40%) of parent scope covered by DW_AT_location": 0,
[all …]
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp36 static ParseResult parseFunctionTypes(AsmParser &p, SmallVector<Type> &params, in parseFunctionTypes() argument
53 params.push_back(type); in parseFunctionTypes()
61 params.push_back(type); in parseFunctionTypes()
66 static void printFunctionTypes(AsmPrinter &p, ArrayRef<Type> params, in printFunctionTypes() argument
68 llvm::interleaveComma(params, p, in printFunctionTypes()
71 if (!params.empty()) in printFunctionTypes()
183 DataLayoutEntryListRef params) const { in getTypeSizeInBits()
185 getTypeSize(dataLayout, params)); in getTypeSizeInBits()
189 DataLayoutEntryListRef params) const { in getTypeSize()
196 DataLayoutEntryListRef params) cons in getABIAlignment()
276 getPointerDataLayoutEntry(DataLayoutEntryListRef params,LLVMPointerType type,PtrDLEntryPos pos) getPointerDataLayoutEntry() argument
538 getStructDataLayoutEntry(DataLayoutEntryListRef params,LLVMStructType type,StructDLEntryPos pos) getStructDataLayoutEntry() argument
557 calculateStructAlignment(const DataLayout & dataLayout,DataLayoutEntryListRef params,LLVMStructType type,StructDLEntryPos pos) calculateStructAlignment() argument
[all...]
/llvm-project/clang/test/CodeGen/
H A Dbool-bitfield.c32 extern struct SysParams params;
49 params.cliplmt_ch1 = msg.cliplmt_ch1; in kcmd_setParams()
50 params.cliplmt_ch2 = msg.cliplmt_ch2; in kcmd_setParams()
51 params.gate_ch1 = msg.gate_ch1; in kcmd_setParams()
52 params.gate_ch2 = msg.gate_ch2; in kcmd_setParams()

12345678910>>...20