| /llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/ |
| H A D | multivalue-stackify.py | 40 for _, defs in program: 41 num_defs += len(defs) 72 for _, defs in program: 73 if len(defs) == 0: 89 if defs and all(not used[d] for d in defs): 98 for uses, defs in program: 101 if len(defs) >= 2: 102 for d in defs: 112 if len(defs) <= 1: 115 for d in defs: [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Target/GlobalISel/ |
| H A D | Combine.td | 54 dag Defs = defs; 67 def defs; 124 (defs root:$d), 143 (defs root:$d), 215 (defs root:$root), 221 (defs root:$root), 227 (defs root:$root), 233 (defs root:$root), 239 (defs root:$root), 582 (defs root:$d), [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64Combine.td | 15 (defs root:$root), 58 (defs root:$root, shuffle_matchdata:$matchinfo), 65 (defs root:$root, shuffle_matchdata:$matchinfo), 72 (defs root:$root, shuffle_matchdata:$matchinfo), 79 (defs root:$root, shuffle_matchdata:$matchinfo), 138 (defs root:$root), 163 (defs root:$root), 172 (defs root:$root), 186 (defs root:$d), 193 (defs root:$d), [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | CMakeLists.txt | 7 mlir_tablegen(BuiltinAttributes.cpp.inc -gen-attrdef-defs) 12 mlir_tablegen(BuiltinAttributeInterfaces.cpp.inc -gen-attr-interface-defs) 17 mlir_tablegen(BuiltinDialect.cpp.inc -gen-dialect-defs) 22 mlir_tablegen(BuiltinLocationAttributes.cpp.inc -gen-attrdef-defs) 27 mlir_tablegen(BuiltinOps.cpp.inc -gen-op-defs) 32 mlir_tablegen(BuiltinTypes.cpp.inc -gen-typedef-defs) 37 mlir_tablegen(BuiltinTypeInterfaces.cpp.inc -gen-type-interface-defs) 42 mlir_tablegen(FunctionOpInterfaces.cpp.inc -gen-op-interface-defs) 48 mlir_tablegen(SubElementAttrInterfaces.cpp.inc -gen-attr-interface-defs) 50 mlir_tablegen(SubElementTypeInterfaces.cpp.inc -gen-type-interface-defs) [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/submodules-merge-defs/ |
| H A D | module.modulemap | 2 textual header "defs.h" 4 module "use" { header "use-defs.h" } 5 module "use-2" { requires use_defs_twice header "use-defs-2.h" } 14 module "merged-defs" { 15 header "merged-defs.h" 21 use "merged-defs"
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Test/ |
| H A D | CMakeLists.txt | 9 mlir_tablegen(TestAttrInterfaces.cpp.inc -gen-attr-interface-defs) 11 mlir_tablegen(TestTypeInterfaces.cpp.inc -gen-type-interface-defs) 13 mlir_tablegen(TestOpInterfaces.cpp.inc -gen-op-interface-defs) 18 mlir_tablegen(TestAttrDefs.cpp.inc -gen-attrdef-defs) 23 mlir_tablegen(TestTypeDefs.cpp.inc -gen-typedef-defs -typedefs-dialect=test) 28 mlir_tablegen(TestOps.cpp.inc -gen-op-defs) 30 mlir_tablegen(TestOpsDialect.cpp.inc -gen-dialect-defs -dialect=test) 32 mlir_tablegen(TestOpEnums.cpp.inc -gen-enum-defs)
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/ |
| H A D | CMakeLists.txt | 5 mlir_tablegen(LLVMOpsAttrDefs.cpp.inc -gen-attrdef-defs) 10 mlir_tablegen(LLVMOps.cpp.inc -gen-op-defs) 12 mlir_tablegen(LLVMOpsDialect.cpp.inc -gen-dialect-defs) 14 mlir_tablegen(LLVMOpsEnums.cpp.inc -gen-enum-defs) 19 mlir_tablegen(LLVMIntrinsicOps.cpp.inc -gen-op-defs) 27 mlir_tablegen(LLVMOpsInterfaces.cpp.inc -gen-op-interface-defs) 29 mlir_tablegen(LLVMTypeInterfaces.cpp.inc -gen-type-interface-defs) 48 mlir_tablegen(NVVMOpsEnums.cpp.inc -gen-enum-defs) 50 mlir_tablegen(NVVMOpsAttributes.cpp.inc -gen-attrdef-defs -attrdefs-dialect=nvvm)
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCombine.td | 17 (defs root:$select, fmin_fmax_legacy_matchdata:$matchinfo), 24 (defs root:$itofp), 31 (defs root:$rcp, build_fn_matchinfo:$matchinfo), 40 (defs root:$cvt_f32_ubyteN, cvt_f32_ubyteN_matchdata:$matchinfo), 51 (defs root:$clamp_i64_to_i16, clamp_i64_to_i16_matchdata:$matchinfo), 59 (defs root:$min_or_max, med3_matchdata:$matchinfo), 68 (defs root:$min_or_max, med3_matchdata:$matchinfo), 77 (defs root:$min_or_max, register_matchinfo:$matchinfo), 86 (defs root:$fmed3, register_matchinfo:$matchinfo), 94 (defs root:$fcanonicalize, remove_fcanonicalize_matchinfo:$matchinfo), [all …]
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | AttrOrTypeDefGen.cpp | 39 auto defs = llvm::map_range( in collectAllDefs() local 49 resultDefs.assign(defs.begin(), defs.end()); in collectAllDefs() 643 SmallVector<AttrOrTypeDef, 16> defs; in emitDecls() local 645 if (defs.empty()) in emitDecls() 651 for (const AttrOrTypeDef &def : defs) in emitDecls() 660 for (const AttrOrTypeDef &def : defs) in emitDecls() 824 for (auto &def : defs) { in emitParsePrintDispatch() 859 SmallVector<AttrOrTypeDef, 16> defs; in emitDefs() local 861 if (defs.empty()) in emitDefs() 863 emitTypeDefList(defs); in emitDefs() [all …]
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Support/ |
| H A D | KindMapping.cpp | 356 if (defs.empty()) { in setDefaultKinds() 367 if (defs.size() != 6) in setDefaultKinds() 371 defaultMap.insert({'a', defs[0]}); in setDefaultKinds() 372 defaultMap.insert({'c', defs[1]}); in setDefaultKinds() 373 defaultMap.insert({'d', defs[2]}); in setDefaultKinds() 374 defaultMap.insert({'i', defs[3]}); in setDefaultKinds() 375 defaultMap.insert({'l', defs[4]}); in setDefaultKinds() 376 defaultMap.insert({'r', defs[5]}); in setDefaultKinds() 413 if (defs.empty()) in toDefaultKinds() 414 defs = clDefaultKinds; in toDefaultKinds() [all …]
|
| H A D | FIRContext.cpp | 39 auto defs = kindMap.defaultsToString(); in setKindMapping() local 40 mod->setAttr(defKindName, mlir::StringAttr::get(ctx, defs)); in setKindMapping() 45 if (auto defs = mod->getAttrOfType<mlir::StringAttr>(defKindName)) { in getKindMapping() local 46 auto defVals = fir::KindMapping::toDefaultKinds(defs.getValue()); in getKindMapping()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Support/ |
| H A D | KindMapping.h | 63 explicit KindMapping(mlir::MLIRContext *context, llvm::ArrayRef<KindTy> defs); 69 llvm::ArrayRef<KindTy> defs = llvm::None); 71 llvm::StringRef defs) in KindMapping() argument 72 : KindMapping{context, map, toDefaultKinds(defs)} {} in KindMapping() 122 static std::vector<KindTy> toDefaultKinds(llvm::StringRef defs); 127 mlir::LogicalResult setDefaultKinds(llvm::ArrayRef<KindTy> defs);
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/OpenMP/ |
| H A D | CMakeLists.txt | 7 mlir_tablegen(OpenMPOpsDialect.cpp.inc -gen-dialect-defs -dialect=omp) 9 mlir_tablegen(OpenMPOps.cpp.inc -gen-op-defs) 11 mlir_tablegen(OpenMPOpsEnums.cpp.inc -gen-enum-defs) 13 mlir_tablegen(OpenMPOpsAttributes.cpp.inc -gen-attrdef-defs -attrdefs-dialect=omp) 21 mlir_tablegen(OpenMPTypeInterfaces.cpp.inc -gen-type-interface-defs)
|
| /llvm-project-15.0.7/clang/utils/ABITest/ |
| H A D | Makefile.test.common | 46 .PHONY: test.%.defs-report 47 test.%.defs-report: temps/test.%.defs.diff 56 …s/test.%.xx temps/test.%.xy temps/test.%.yx temps/test.%.yy temps/test.%.x.defs temps/test.%.y.defs 77 .PRECIOUS: temps/test.%.defs.diff 78 temps/test.%.defs.diff: temps/test.%.x.defs temps/test.%.y.defs 119 .PRECIOUS: temps/test.%.x.defs 120 temps/test.%.x.defs: temps/test.%.a.x.ll temps/.dir 122 .PRECIOUS: temps/test.%.y.defs 123 temps/test.%.y.defs: temps/test.%.a.y.ll temps/.dir
|
| /llvm-project-15.0.7/mlir/test/python/ |
| H A D | CMakeLists.txt | 3 mlir_tablegen(lib/PythonTestDialect.cpp.inc -gen-dialect-defs) 5 mlir_tablegen(lib/PythonTestOps.cpp.inc -gen-op-defs) 7 mlir_tablegen(lib/PythonTestAttributes.cpp.inc -gen-attrdef-defs) 9 mlir_tablegen(lib/PythonTestTypes.cpp.inc -gen-typedef-defs)
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/OpenACC/ |
| H A D | CMakeLists.txt | 7 mlir_tablegen(OpenACCOpsDialect.cpp.inc -gen-dialect-defs -dialect=acc) 9 mlir_tablegen(OpenACCOps.cpp.inc -gen-op-defs) 11 mlir_tablegen(OpenACCOpsEnums.cpp.inc -gen-enum-defs) 13 mlir_tablegen(OpenACCOpsAttributes.cpp.inc -gen-attrdef-defs -attrdefs-dialect=acc)
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/GPU/IR/ |
| H A D | CMakeLists.txt | 6 mlir_tablegen(GPUOpInterfaces.cpp.inc -gen-op-interface-defs) 11 mlir_tablegen(ParallelLoopMapperEnums.cpp.inc -gen-enum-defs) 16 mlir_tablegen(GPUOpsEnums.cpp.inc -gen-enum-defs) 21 mlir_tablegen(GPUOpsAttributes.cpp.inc -gen-attrdef-defs -attrdefs-dialect=gpu)
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | ppc64-tls-pcrel-gd.s | 5 # RUN: llvm-mc -filetype=obj -triple=powerpc64le %t/defs -o %t-defs.o 6 # RUN: ld.lld --shared %t-defs.o --soname=t-defs -o %t-defs.so 8 # RUN: ld.lld -T %t/lds %t.o %t-defs.so -o %t-gdtoie 9 # RUN: ld.lld -T %t/lds %t.o %t-defs.o -o %t-gdtole 33 #--- defs
|
| H A D | ppc64-tls-pcrel-ie.s | 6 # RUN: llvm-mc -filetype=obj -triple=powerpc64le %t/defs -o %t-defs.o 7 # RUN: ld.lld --shared %t-defs.o --soname=t-defs -o %t-defs.so 8 # RUN: ld.lld -T %t/lds %t.o %t-defs.so -o %t-ie 9 # RUN: ld.lld -T %t/lds %t.o %t-defs.o -o %t-le 34 #--- defs
|
| /llvm-project-15.0.7/openmp/runtime/tools/ |
| H A D | generate-def.pl | 30 my ( $input, $defs ) = @_; 60 $value = ( $value and ( $negation xor $defs->{ $name } ) ); 165 my %defs; 178 $defs{ $def_name } = $def_value; 194 my %data = parse_input( $input, %defs );
|
| /llvm-project-15.0.7/llvm/tools/llvm-objcopy/ |
| H A D | CMakeLists.txt | 11 tablegen(LLVM ObjcopyOpts.inc -gen-opt-parser-defs) 15 tablegen(LLVM InstallNameToolOpts.inc -gen-opt-parser-defs) 19 tablegen(LLVM BitcodeStripOpts.inc -gen-opt-parser-defs) 23 tablegen(LLVM StripOpts.inc -gen-opt-parser-defs)
|
| /llvm-project-15.0.7/llvm/test/TableGen/GICombinerEmitter/ |
| H A D | match-invalid.td | 25 (defs root:$a), 33 (defs root:$a), 41 (defs root:$a), 49 (defs root:$a), 57 (defs root:$a), 66 (defs root:$a),
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | CMakeLists.txt | 6 mlir_tablegen(SPIRVEnums.cpp.inc -gen-enum-defs) 12 mlir_tablegen(SPIRVEnumAvailability.cpp.inc -gen-spirv-enum-avail-defs) 19 mlir_tablegen(SPIRVAvailability.cpp.inc -gen-avail-interface-defs) 36 mlir_tablegen(SPIRVAttributes.cpp.inc -gen-attrdef-defs)
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/tools/llvm-objcopy/ |
| H A D | BUILD.gn | 9 args = [ "-gen-opt-parser-defs" ] 14 args = [ "-gen-opt-parser-defs" ] 19 args = [ "-gen-opt-parser-defs" ] 24 args = [ "-gen-opt-parser-defs" ]
|
| /llvm-project-15.0.7/mlir/examples/toy/Ch4/include/toy/ |
| H A D | CMakeLists.txt | 4 mlir_tablegen(Ops.cpp.inc -gen-op-defs) 6 mlir_tablegen(Dialect.cpp.inc -gen-dialect-defs) 12 mlir_tablegen(ShapeInferenceOpInterfaces.cpp.inc -gen-op-interface-defs)
|