| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
| D | InjectTLIMappings.cpp | 1 //===- InjectTLIMAppings.cpp - TLI to VFABI attribute injection ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Populates the VFABI attribute with the scalar-to-vector mappings 12 //===----------------------------------------------------------------------===// 14 #include "llvm/Transforms/Utils/InjectTLIMappings.h" 18 #include "llvm/Transforms/Utils.h" 19 #include "llvm/Transforms/Utils/ModuleUtils.h" 23 #define DEBUG_TYPE "inject-tli-mappings" 33 /// Helper function to map the TLI name to a strings that holds [all …]
|
| D | EscapeEnumerator.cpp | 1 //===- EscapeEnumerator.cpp -----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Defines a helper class that enumerates all possible exits from a function, 12 //===----------------------------------------------------------------------===// 14 #include "llvm/Transforms/Utils/EscapeEnumerator.h" 16 #include "llvm/Transforms/Utils/Local.h" 18 #include "llvm/IR/Module.h" 21 static FunctionCallee getDefaultPersonalityFn(Module *M) { in getDefaultPersonalityFn() 22 LLVMContext &C = M->getContext(); in getDefaultPersonalityFn() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/ |
| D | EscapeEnumerator.cpp | 1 //===- EscapeEnumerator.cpp -----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Defines a helper class that enumerates all possible exits from a function, 12 //===----------------------------------------------------------------------===// 14 #include "llvm/Transforms/Utils/EscapeEnumerator.h" 17 #include "llvm/IR/Module.h" 18 #include "llvm/Transforms/Utils/Local.h" 22 static FunctionCallee getDefaultPersonalityFn(Module *M) { in getDefaultPersonalityFn() 23 LLVMContext &C = M->getContext(); in getDefaultPersonalityFn() [all …]
|
| D | InjectTLIMappings.cpp | 1 //===- InjectTLIMAppings.cpp - TLI to VFABI attribute injection ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // Populates the VFABI attribute with the scalar-to-vector mappings 12 //===----------------------------------------------------------------------===// 14 #include "llvm/Transforms/Utils/InjectTLIMappings.h" 22 #include "llvm/Transforms/Utils.h" 23 #include "llvm/Transforms/Utils/ModuleUtils.h" 27 #define DEBUG_TYPE "inject-tli-mappings" 37 /// A helper function that adds the vector function declaration that [all …]
|
| D | CallGraphUpdater.cpp | 1 //===- CallGraphUpdater.cpp - A (lazy) call graph update helper -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 15 #include "llvm/Transforms/Utils/CallGraphUpdater.h" 20 #include "llvm/Transforms/Utils/ModuleUtils.h" 35 DeadFn->removeDeadConstantUsers(); in finalize() 37 DeadCGN->removeAllCalledFunctions(); in finalize() 38 CG->getExternalCallingNode()->removeAnyCallEdgeTo(DeadCGN); in finalize() 39 DeadFn->replaceAllUsesWith(PoisonValue::get(DeadFn->getType())); in finalize() [all …]
|
| /external/llvm/lib/Transforms/IPO/ |
| D | Internalize.cpp | 1 //===-- Internalize.cpp - Mark functions internal -------------------------===// 8 //===----------------------------------------------------------------------===// 10 // This pass loops over all of the functions and variables in the input module. 18 // told it is only used from within this module, it is safe to do it. 20 //===----------------------------------------------------------------------===// 22 #include "llvm/Transforms/IPO/Internalize.h" 27 #include "llvm/IR/Module.h" 32 #include "llvm/Transforms/IPO.h" 33 #include "llvm/Transforms/Utils/GlobalStatus.h" 44 // APIFile - A file which contains a list of symbols that should not be marked [all …]
|
| /external/webrtc/modules/audio_coding/codecs/opus/test/ |
| D | lapped_transform.h | 4 * Use of this source code is governed by a BSD-style license 66 // Helper class for audio processing modules which operate on frequency domain 73 // which constitutes the final output of this processing module. 91 // `shift_amount` is in samples. `callback` is the caller-owned audio 102 // Main audio processing helper method. Internally slices `in_chunk` into 103 // blocks, transforms them to frequency domain, calls the callback for each 104 // block and returns a de-blocked time domain chunk of audio through 105 // `out_chunk`. Both buffers are caller-owned. 140 // Internal middleware callback, given to the blocker. Transforms each block
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Passes/ |
| D | PassBuilderPipelines.cpp | 1 //===- Construction of pass pipelines -------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 33 #include "llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h" 34 #include "llvm/Transforms/Coroutines/CoroCleanup.h" 35 #include "llvm/Transforms/Coroutines/CoroConditionalWrapper.h" 36 #include "llvm/Transforms/Coroutines/CoroEarly.h" 37 #include "llvm/Transforms/Coroutines/CoroElide.h" 38 #include "llvm/Transforms/Coroutines/CoroSplit.h" [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
| D | SCCP.h | 1 //===- SCCP.cpp - Sparse Conditional Constant Propagation -------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 //===----------------------------------------------------------------------===// 27 #include "llvm/IR/Module.h" 29 #include "llvm/Transforms/Utils/PredicateInfo.h" 35 /// This pass performs function-level constant propagation and merging. 41 /// Helper struct for bundling up the analysis results per function for IPSCCP. 48 bool runIPSCCP(Module &M, const DataLayout &DL,
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/ |
| D | UpdateCompilerUsed.cpp | 1 //==-LTOInternalize.cpp - LLVM Link Time Optimizer Internalization Utility -==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines a helper to run the internalization part of LTO. 11 //===----------------------------------------------------------------------===// 19 #include "llvm/Transforms/Utils/ModuleUtils.h" 25 // Helper class that collects AsmUsed and user supplied libcalls. 33 void findInModule(Module &TheModule) { in findInModule() 55 // Collect names of runtime library functions. User-defined functions with the 58 void initializeLibCalls(const Module &TheModule) { in initializeLibCalls() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/LTO/ |
| D | UpdateCompilerUsed.cpp | 1 //==-LTOInternalize.cpp - LLVM Link Time Optimizer Internalization Utility -==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file defines a helper to run the internalization part of LTO. 11 //===----------------------------------------------------------------------===// 19 #include "llvm/Transforms/Utils/ModuleUtils.h" 26 // Helper class that collects AsmUsed and user supplied libcalls. 34 void findInModule(Module &TheModule) { in findInModule() 56 // Collect names of runtime library functions. User-defined functions with the 59 void initializeLibCalls(const Module &TheModule) { in initializeLibCalls() [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/ |
| D | bufferize_pass.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 26 #include "mlir-hlo/Dialect/gml_st/IR/gml_st_ops.h" 27 #include "mlir-hlo/Dialect/gml_st/transforms/bufferizable_op_interface_impl.h" 28 #include "mlir-hlo/Dialect/lhlo/IR/lhlo_ops.h" 29 #include "mlir-hlo/Dialect/mhlo/IR/chlo_ops.h" 30 #include "mlir-hlo/Dialect/mhlo/IR/hlo_ops.h" 31 #include "mlir-hlo/Dialect/mhlo/transforms/bufferizable_op_interface_impl.h" 32 #include "mlir-hlo/Dialect/mhlo/transforms/rewriters.h" 33 #include "mlir-hlo/Dialect/mhlo/transforms/type_conversion.h" 34 #include "mlir-hlo/Transforms/PassDetail.h" [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
| D | Internalize.cpp | 1 //===-- Internalize.cpp - Mark functions internal -------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This pass loops over all of the functions and variables in the input module. 17 // told it is only used from within this module, it is safe to do it. 19 //===----------------------------------------------------------------------===// 21 #include "llvm/Transforms/IPO/Internalize.h" 26 #include "llvm/IR/Module.h" 34 #include "llvm/Transforms/IPO.h" 35 #include "llvm/Transforms/Utils/GlobalStatus.h" [all …]
|
| /external/llvm/lib/LTO/ |
| D | UpdateCompilerUsed.cpp | 1 //==-LTOInternalize.cpp - LLVM Link Time Optimizer Internalization Utility -==// 8 //===----------------------------------------------------------------------===// 10 // This file defines a helper to run the internalization part of LTO. 12 //===----------------------------------------------------------------------===// 20 #include "llvm/Transforms/IPO/Internalize.h" 26 // Helper class that collects AsmUsed and user supplied libcalls. 34 void findInModule(const Module &TheModule) { in findInModule() 56 // Collect names of runtime library functions. User-defined functions with the 59 void initializeLibCalls(const Module &TheModule) { in initializeLibCalls() 76 TM.getSubtargetImpl(F)->getTargetLowering(); in initializeLibCalls() [all …]
|
| D | ThinLTOCodeGenerator.cpp | 1 //===-ThinLTOCodeGenerator.cpp - LLVM Link Time Optimizer -----------------===// 8 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 46 #include "llvm/Transforms/IPO.h" 47 #include "llvm/Transforms/IPO/FunctionImport.h" 48 #include "llvm/Transforms/IPO/Internalize.h" 49 #include "llvm/Transforms/IPO/PassManagerBuilder.h" 50 #include "llvm/Transforms/ObjCARC.h" 51 #include "llvm/Transforms/Utils/FunctionImportUtils.h" 60 // Flags -discard-value-names, defined in LTOCodeGenerator.cpp [all …]
|
| /external/tensorflow/tensorflow/python/autograph/pyct/ |
| D | transpiler.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 80 correctly marks them as free non-global variables upon load (that is, it 84 https://docs.python.org/3/reference/executionmodel.html#binding-of-names 112 module='__future__', 144 """Helper object that wraps a Python function factory.""" 151 freevars: The list of non-global free variables for the function. 160 self.module = None 179 module, _, source_map = loader.load_ast( 181 outer_factory = getattr(module, outer_factory_name) 183 self.module = module [all …]
|
| /external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/ |
| D | tf_to_tfrt_data.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 17 #include "tensorflow/compiler/mlir/tfrt/transforms/tf_to_tfrt_data.h" 19 #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project 20 #include "mlir/IR/OperationSupport.h" // from @llvm-project 21 #include "mlir/IR/Types.h" // from @llvm-project 22 #include "mlir/Pass/Pass.h" // from @llvm-project 23 #include "mlir/Pass/PassManager.h" // from @llvm-project 24 #include "mlir/Transforms/DialectConversion.h" // from @llvm-project 27 #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" 39 #define DEBUG_TYPE "tf-to-tfrt-data" [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Transforms/Utils/ |
| D | SCCPSolver.h | 1 //===- SCCPSolver.h - SCCP Utility ----------------------------- *- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 21 #include "llvm/Transforms/Utils/PredicateInfo.h" 42 /// Helper struct for bundling up the analysis results per function for IPSCCP. 50 /// Helper struct shared between Function Specialization and SCCP Solver. 70 //===----------------------------------------------------------------------===// 72 /// SCCPSolver - This interface class is a general purpose solver for Sparse 87 /// markBlockExecutable - This method can be used by clients to mark all of [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/python/ |
| D | pytree.h | 7 http://www.apache.org/licenses/LICENSE-2.0 59 // A function with signature: object -> (iterable, aux_data) 61 // A function with signature: (aux_data, iterable) -> object 104 // user-defined containers, and the leaves are other objects. 116 // Recursive helper used to implement Flatten(). 128 // the tree-structure of 'x'. For example, if we flatten a value 173 // Transforms the PyTreeDef into a pickleable object. Used to implement 177 // Transforms the object returned by `ToPickleable()` back to PyTreeDef. Used 185 // Arity for non-kLeaf types. 188 // Kind-specific auxiliary data. For a kNamedTuple, contains the tuple type [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/mlir/transforms/runtime/ |
| D | rt_to_llvm.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 23 #include "mlir/Conversion/LLVMCommon/TypeConverter.h" // from @llvm-project 24 #include "mlir/Dialect/Arithmetic/IR/Arithmetic.h" // from @llvm-project 25 #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project 26 #include "mlir/Dialect/Func/Transforms/FuncConversions.h" // from @llvm-project 27 #include "mlir/Dialect/LLVMIR/LLVMDialect.h" // from @llvm-project 28 #include "mlir/Dialect/LLVMIR/LLVMTypes.h" // from @llvm-project 29 #include "mlir/IR/Attributes.h" // from @llvm-project 30 #include "mlir/IR/BuiltinOps.h" // from @llvm-project 31 #include "mlir/IR/BuiltinTypes.h" // from @llvm-project [all …]
|
| /external/skia/modules/canvaskit/ |
| D | package-lock.json | 2 "name": "canvaskit-local", 8 "name": "canvaskit-local", 10 "license": "BSD-3-Clause", 12 "is-docker": "~1.1.0", 13 "jasmine-core": "~3.6.0", 15 "karma-chrome-launcher": "~3.1.0", 16 "karma-coverage": "~2.0.3", 17 "karma-jasmine": "~4.0.1", 21 "node_modules/@babel/code-frame": { 23 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", [all …]
|
| /external/skia/modules/pathkit/ |
| D | package-lock.json | 2 "name": "pathkit-local", 7 "@babel/code-frame": { 9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", 10 …"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3O… 18 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.10.tgz", 19 …"integrity": "sha512-eTAlQKq65zHfkHZV0sIVODCPGVgoo1HdBlbSLi9CqOzuZanMv2ihzY+4paiKr1mH+XmYESMAmJ/dp… 22 "@babel/code-frame": "^7.10.4", 24 "@babel/helper-module-transforms": "^7.12.1", 30 "convert-source-map": "^1.7.0", 32 "gensync": "^1.0.0-beta.1", [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/IPO/ |
| D | Internalize.cpp | 1 //===-- Internalize.cpp - Mark functions internal -------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This pass loops over all of the functions and variables in the input module. 17 // told it is only used from within this module, it is safe to do it. 19 //===----------------------------------------------------------------------===// 21 #include "llvm/Transforms/IPO/Internalize.h" 26 #include "llvm/IR/Module.h" 35 #include "llvm/Transforms/IPO.h" 44 // APIFile - A file which contains a list of symbol glob patterns that should [all …]
|
| /external/tensorflow/tensorflow/compiler/xla/service/spmd/ |
| D | spmd_partitioner.h | 7 http://www.apache.org/licenses/LICENSE-2.0 60 // Whether to use cached all-gather to avoid repeatedly replicate a tiled 62 // memory-efficient, and the compiler can use the ScheduleAwareAllGatherCSE 63 // pass to CSE some all-gathers which are relatively close to each other. 71 // all-gathers. 106 return &it->second; in BroadcastDimsForCreatedHlo() 124 // A set of functions that create the cross-partition collective ops. 129 // Function used to create a cross-partition all-reduce HLO. 136 // Function used to create a cross-partition collective-permute HLO. 143 // Function used to create a cross-partition all-to-all HLO. [all …]
|
| /external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/ |
| D | resource_value_typed_analyzer.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 19 #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project 20 #include "mlir/IR/BuiltinAttributes.h" // from @llvm-project 21 #include "mlir/Transforms/RegionUtils.h" // from @llvm-project 38 // Helper that returns the FuncOp that is the SessionInit function which 41 func::FuncOp GetSessionInitializerFunc(ModuleOp module) { in GetSessionInitializerFunc() argument 42 auto session_init_op = tf_saved_model::GetSessionInitializerOp(module); in GetSessionInitializerFunc() 44 SymbolTable symbol_table(module); in GetSessionInitializerFunc() 56 if (auto attr = op->getAttrOfType<mlir::StringAttr>("device")) { in GetResourceKey() 61 if (auto attr = op->getAttrOfType<mlir::StringAttr>("container")) { in GetResourceKey() [all …]
|