Home
last modified time | relevance | path

Searched refs:llvm (Results 1 – 25 of 5012) sorted by relevance

12345678910>>...201

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DLinkAllPasses.h70 (void) llvm::createAAEvalPass(); in ForcePassLinking()
71 (void) llvm::createAggressiveDCEPass(); in ForcePassLinking()
72 (void) llvm::createAggressiveInstCombinerPass(); in ForcePassLinking()
73 (void) llvm::createBitTrackingDCEPass(); in ForcePassLinking()
74 (void) llvm::createArgumentPromotionPass(); in ForcePassLinking()
75 (void) llvm::createAlignmentFromAssumptionsPass(); in ForcePassLinking()
76 (void) llvm::createBasicAAWrapperPass(); in ForcePassLinking()
77 (void) llvm::createSCEVAAWrapperPass(); in ForcePassLinking()
78 (void) llvm::createTypeBasedAAWrapperPass(); in ForcePassLinking()
79 (void) llvm::createScopedNoAliasAAWrapperPass(); in ForcePassLinking()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/
DIntrinsicEnums.inc10 addressofreturnaddress = 1, // llvm.addressofreturnaddress
11 adjust_trampoline, // llvm.adjust.trampoline
12 annotation, // llvm.annotation
13 assume, // llvm.assume
14 bitreverse, // llvm.bitreverse
15 bswap, // llvm.bswap
16 canonicalize, // llvm.canonicalize
17 ceil, // llvm.ceil
18 clear_cache, // llvm.clear_cache
19 codeview_annotation, // llvm.codeview.annotation
[all …]
DIntrinsicImpl.inc12 llvm::StringLiteral Name;
17 {llvm::StringLiteral(""), 0, 267},
18 {llvm::StringLiteral("aarch64"), 267, 553},
19 {llvm::StringLiteral("amdgcn"), 820, 677},
20 {llvm::StringLiteral("arm"), 1497, 366},
21 {llvm::StringLiteral("bpf"), 1863, 5},
22 {llvm::StringLiteral("hexagon"), 1868, 1766},
23 {llvm::StringLiteral("mips"), 3634, 667},
24 {llvm::StringLiteral("nvvm"), 4301, 1296},
25 {llvm::StringLiteral("ppc"), 5597, 406},
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/
DAndroid.bp21 "llvm/lib/Analysis/AliasAnalysis.cpp",
22 "llvm/lib/Analysis/AliasAnalysisSummary.cpp",
23 "llvm/lib/Analysis/AliasSetTracker.cpp",
24 "llvm/lib/Analysis/AssumptionCache.cpp",
25 "llvm/lib/Analysis/BasicAliasAnalysis.cpp",
26 "llvm/lib/Analysis/BlockFrequencyInfo.cpp",
27 "llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp",
28 "llvm/lib/Analysis/BranchProbabilityInfo.cpp",
29 "llvm/lib/Analysis/CallGraph.cpp",
30 "llvm/lib/Analysis/CallGraphSCCPass.cpp",
[all …]
DBUILD.gn84 "llvm/include/",
85 "llvm/lib/Target/AArch64/",
86 "llvm/lib/Target/ARM/",
87 "llvm/lib/Target/Mips/",
88 "llvm/lib/Target/PowerPC/",
89 "llvm/lib/Target/X86/",
111 assert(false, "llvm-10.0 not configured for target platform")
132 "llvm/lib/MC/MCWasmObjectTargetWriter.cpp",
133 "llvm/lib/MC/MCXCOFFObjectTargetWriter.cpp",
134 "llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp",
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/
DCMakeLists.txt16 "build/Android/include/llvm/Config/abi-breaking.h"
17 "build/Android/include/llvm/Config/config.h"
18 "build/Android/include/llvm/Config/llvm-config.h"
19 "build/Android/include/llvm/Support/DataTypes.h"
20 "build/Fuchsia/include/llvm/Config/abi-breaking.h"
21 "build/Fuchsia/include/llvm/Config/config.h"
22 "build/Fuchsia/include/llvm/Config/llvm-config.h"
23 "build/Fuchsia/include/llvm/Support/DataTypes.h"
24 "build/Linux/include/llvm/Config/abi-breaking.h"
25 "build/Linux/include/llvm/Config/config.h"
[all …]
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_helper.cpp50 llvm::TargetMachine *TM = reinterpret_cast<llvm::TargetMachine *>(tm); in ac_is_llvm_processor_supported()
56 llvm::cl::ResetAllOptionOccurrences(); in ac_reset_llvm_all_options_occurences()
61 llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); in ac_add_attr_dereferenceable()
62 A->addAttr(llvm::Attribute::getWithDereferenceableBytes(A->getContext(), bytes)); in ac_add_attr_dereferenceable()
67 llvm::Argument *A = llvm::unwrap<llvm::Argument>(val); in ac_add_attr_alignment()
68 A->addAttr(llvm::Attribute::getWithAlignment(A->getContext(), llvm::Align(bytes))); in ac_add_attr_alignment()
73 llvm::Argument *A = llvm::unwrap<llvm::Argument>(arg); in ac_is_sgpr_param()
74 llvm::AttributeList AS = A->getParent()->getAttributes(); in ac_is_sgpr_param()
76 return AS.hasParamAttr(ArgNo, llvm::Attribute::InReg); in ac_is_sgpr_param()
81 llvm::TargetMachine *TM = reinterpret_cast<llvm::TargetMachine *>(tm); in ac_create_module()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DIntrinsics.gen19 addressofreturnaddress, // llvm.addressofreturnaddress
20 adjust_trampoline, // llvm.adjust.trampoline
21 annotation, // llvm.annotation
22 assume, // llvm.assume
23 bitreverse, // llvm.bitreverse
24 bswap, // llvm.bswap
25 canonicalize, // llvm.canonicalize
26 ceil, // llvm.ceil
27 clear_cache, // llvm.clear_cache
28 convert_from_fp16, // llvm.convert.from.fp16
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DIntrinsics.gen19 addressofreturnaddress, // llvm.addressofreturnaddress
20 adjust_trampoline, // llvm.adjust.trampoline
21 annotation, // llvm.annotation
22 assume, // llvm.assume
23 bitreverse, // llvm.bitreverse
24 bswap, // llvm.bswap
25 canonicalize, // llvm.canonicalize
26 ceil, // llvm.ceil
27 clear_cache, // llvm.clear_cache
28 convert_from_fp16, // llvm.convert.from.fp16
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DIntrinsics.gen19 addressofreturnaddress, // llvm.addressofreturnaddress
20 adjust_trampoline, // llvm.adjust.trampoline
21 annotation, // llvm.annotation
22 assume, // llvm.assume
23 bitreverse, // llvm.bitreverse
24 bswap, // llvm.bswap
25 canonicalize, // llvm.canonicalize
26 ceil, // llvm.ceil
27 clear_cache, // llvm.clear_cache
28 convert_from_fp16, // llvm.convert.from.fp16
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DIntrinsics.gen19 addressofreturnaddress, // llvm.addressofreturnaddress
20 adjust_trampoline, // llvm.adjust.trampoline
21 annotation, // llvm.annotation
22 assume, // llvm.assume
23 bitreverse, // llvm.bitreverse
24 bswap, // llvm.bswap
25 canonicalize, // llvm.canonicalize
26 ceil, // llvm.ceil
27 clear_cache, // llvm.clear_cache
28 convert_from_fp16, // llvm.convert.from.fp16
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DIntrinsics.gen19 addressofreturnaddress, // llvm.addressofreturnaddress
20 adjust_trampoline, // llvm.adjust.trampoline
21 annotation, // llvm.annotation
22 assume, // llvm.assume
23 bitreverse, // llvm.bitreverse
24 bswap, // llvm.bswap
25 canonicalize, // llvm.canonicalize
26 ceil, // llvm.ceil
27 clear_cache, // llvm.clear_cache
28 convert_from_fp16, // llvm.convert.from.fp16
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactor.hpp38 namespace llvm namespace
51 llvm::Type *T(Type *t);
53 inline Type *T(llvm::Type *t) in T()
58 inline llvm::Value *V(Value *t) in V()
60 return reinterpret_cast<llvm::Value *>(t); in V()
63 inline Value *V(llvm::Value *t) in V()
68 inline std::vector<llvm::Value *> V(const std::vector<Value *> &values) in V()
70 std::vector<llvm::Value *> result; in V()
95 …std::shared_ptr<rr::Routine> acquireRoutine(const char *name, llvm::Function **funcs, size_t count…
98 std::unique_ptr<llvm::LLVMContext> context;
[all …]
DLLVMJIT.cpp119 return llvm::cl::ParseCommandLineOptions(argc, argv); in parseCommandLineOptionsOnce()
132 llvm::orc::JITTargetMachineBuilder getTargetMachineBuilder(rr::Optimization::Level optLevel) const;
133 const llvm::DataLayout &getDataLayout() const;
134 const llvm::Triple &getTargetTriple() const;
137 …JITGlobals(llvm::orc::JITTargetMachineBuilder &&jitTargetMachineBuilder, llvm::DataLayout &&dataLa…
139 static llvm::CodeGenOpt::Level toLLVM(rr::Optimization::Level level);
141 const llvm::orc::JITTargetMachineBuilder jitTargetMachineBuilder;
142 const llvm::DataLayout dataLayout;
166 llvm::InitializeNativeTarget(); in get()
167 llvm::InitializeNativeTargetAsmPrinter(); in get()
[all …]
DLLVMReactorDebugInfo.hpp29 namespace llvm { namespace
69 using IRBuilder = llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>;
72 llvm::LLVMContext *context,
73 llvm::Module *module,
74 llvm::Function *function);
95 …static void NotifyObjectEmitted(uint64_t key, const llvm::object::ObjectFile &obj, const llvm::Loa…
119 llvm::DILocation *diLocation = nullptr;
120 llvm::Value *value = nullptr;
121 llvm::Instruction *insertAfter = nullptr;
122 llvm::BasicBlock *block = nullptr;
[all …]
DLLVMReactor.cpp60 namespace llvm { namespace
68 llvm::llvm_shutdown_obj llvmShutdownObj;
87 llvm::Value *lowerPAVG(llvm::Value *x, llvm::Value *y) in lowerPAVG()
89 llvm::VectorType *ty = llvm::cast<llvm::VectorType>(x->getType()); in lowerPAVG()
91 llvm::VectorType *extTy = in lowerPAVG()
92 llvm::VectorType::getExtendedElementVectorType(ty); in lowerPAVG()
97 llvm::Constant *one = llvm::ConstantInt::get(extTy, 1); in lowerPAVG()
98 llvm::Value *res = jit->builder->CreateAdd(x, y); in lowerPAVG()
104 llvm::Value *lowerPMINMAX(llvm::Value *x, llvm::Value *y, in lowerPMINMAX()
105 llvm::ICmpInst::Predicate pred) in lowerPMINMAX()
[all …]
/third_party/ltp/tools/sparse/sparse-src/Documentation/release-notes/
Dv0.5.0.rst35 * sparse, llvm: Fix varargs functions
38 * Limit usage of g++ to llvm related programs.
39 * Merge branch 'sparse-llvm' of git://github.com/penberg/sparse-llvm.git
41 * Merge branch 'for-chris' of git://github.com/penberg/sparse-llvm
42 * Merge branch 'llvm/core' of github.com:penberg/sparse-llvm
84 * sparse, llvm: if-else code generation
85 * sparse-llvm: OP_SEL
86 * sparse-llvm: OP_SWITCH
87 * sparse-llvm: OP_LOAD
88 * sparse-llvm OP_PHISOURCE: replace copy with target=src pointer operation
[all …]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dmetadata.hpp41 namespace llvm { namespace
44 is_kernel(const ::llvm::Function &f) { in is_kernel()
48 inline iterator_range< ::llvm::MDNode::op_iterator>
49 get_kernel_metadata_operands(const ::llvm::Function &f, in get_kernel_metadata_operands()
55 return iterator_range< ::llvm::MDNode::op_iterator>(); in get_kernel_metadata_operands()
63 get_str_kernel_metadata(const ::llvm::Function &f, in get_str_kernel_metadata()
67 return ::llvm::cast< ::llvm::MDString>( in get_str_kernel_metadata()
79 get_uint_vector_kernel_metadata(const ::llvm::Function &f, in get_uint_vector_kernel_metadata()
83 return map([=](const ::llvm::MDOperand& o) { in get_uint_vector_kernel_metadata()
84 auto value = ::llvm::cast< ::llvm::ConstantAsMetadata>(o) in get_uint_vector_kernel_metadata()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTypeConverter.cpp22 TypeConverter::TypeConverter(llvm::LLVMContext &Context) { in TypeConverter()
23 addLLVMType(IceType_void, llvm::Type::getVoidTy(Context)); in TypeConverter()
24 llvm::Type *Type_i1 = llvm::IntegerType::get(Context, 1); in TypeConverter()
25 llvm::Type *Type_i8 = llvm::IntegerType::get(Context, 8); in TypeConverter()
26 llvm::Type *Type_i16 = llvm::IntegerType::get(Context, 16); in TypeConverter()
27 llvm::Type *Type_i32 = llvm::IntegerType::get(Context, 32); in TypeConverter()
28 llvm::Type *Type_f32 = llvm::Type::getFloatTy(Context); in TypeConverter()
33 addLLVMType(IceType_i64, llvm::IntegerType::get(Context, 64)); in TypeConverter()
35 addLLVMType(IceType_f64, llvm::Type::getDoubleTy(Context)); in TypeConverter()
36 addLLVMType(IceType_v4i1, llvm::VectorType::get(Type_i1, 4)); in TypeConverter()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DThreading.cpp24 using namespace llvm;
31 bool llvm::llvm_is_multithreaded() { in llvm_is_multithreaded()
42 void llvm::llvm_execute_on_thread(void (*Fn)(void *), void *UserData, in llvm_execute_on_thread()
43 llvm::Optional<unsigned> StackSizeInBytes) { in llvm_execute_on_thread()
48 unsigned llvm::heavyweight_hardware_concurrency() { return 1; } in heavyweight_hardware_concurrency()
50 unsigned llvm::hardware_concurrency() { return 1; } in hardware_concurrency()
52 uint64_t llvm::get_threadid() { return 0; } in get_threadid()
54 uint32_t llvm::get_max_thread_name_length() { return 0; } in get_max_thread_name_length()
56 void llvm::set_thread_name(const Twine &Name) {} in set_thread_name()
58 void llvm::get_thread_name(SmallVectorImpl<char> &Name) { Name.clear(); } in get_thread_name()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DDwarf.cpp18 using namespace llvm;
21 StringRef llvm::dwarf::TagString(unsigned Tag) { in TagString()
32 unsigned llvm::dwarf::getTag(StringRef TagString) { in getTag()
40 unsigned llvm::dwarf::TagVersion(dwarf::Tag Tag) { in TagVersion()
51 unsigned llvm::dwarf::TagVendor(dwarf::Tag Tag) { in TagVendor()
62 StringRef llvm::dwarf::ChildrenString(unsigned Children) { in ChildrenString()
72 StringRef llvm::dwarf::AttributeString(unsigned Attribute) { in AttributeString()
83 unsigned llvm::dwarf::AttributeVersion(dwarf::Attribute Attribute) { in AttributeVersion()
94 unsigned llvm::dwarf::AttributeVendor(dwarf::Attribute Attribute) { in AttributeVendor()
105 StringRef llvm::dwarf::FormEncodingString(unsigned Encoding) { in FormEncodingString()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DVecFuncs.def4 // See https://llvm.org/LICENSE.txt for license information.
30 TLI_DEFINE_VECFUNC("llvm.fabs.f32", "vfabsf", 4)
33 TLI_DEFINE_VECFUNC("llvm.sqrt.f32", "vsqrtf", 4)
37 TLI_DEFINE_VECFUNC("llvm.exp.f32", "vexpf", 4)
40 TLI_DEFINE_VECFUNC("llvm.log.f32", "vlogf", 4)
43 TLI_DEFINE_VECFUNC("llvm.log10.f32", "vlog10f", 4)
48 TLI_DEFINE_VECFUNC("llvm.sin.f32", "vsinf", 4)
50 TLI_DEFINE_VECFUNC("llvm.cos.f32", "vcosf", 4)
72 TLI_DEFINE_VECFUNC("llvm.pow.f64", "__powd2_massv", 2)
74 TLI_DEFINE_VECFUNC("llvm.pow.f32", "__powf4_massv", 4)
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c59 struct draw_llvm *llvm; member
76 struct draw_llvm *llvm = fpme->llvm; in llvm_middle_end_prepare_gs() local
84 key = draw_gs_llvm_make_variant_key(llvm, store); in llvm_middle_end_prepare_gs()
96 list_move_to(&variant->list_item_global.list, &llvm->gs_variants_list.list); in llvm_middle_end_prepare_gs()
104 if (llvm->nr_gs_variants >= DRAW_MAX_SHADER_VARIANTS) { in llvm_middle_end_prepare_gs()
107 shader->variants_cached, llvm->nr_gs_variants); in llvm_middle_end_prepare_gs()
115 if (list_is_empty(&llvm->gs_variants_list.list)) { in llvm_middle_end_prepare_gs()
118 item = list_last_entry(&llvm->gs_variants_list.list, in llvm_middle_end_prepare_gs()
126 variant = draw_gs_llvm_create_variant(llvm, gs->info.num_outputs, key); in llvm_middle_end_prepare_gs()
130 list_add(&variant->list_item_global.list, &llvm->gs_variants_list.list); in llvm_middle_end_prepare_gs()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsNVVM.td4 // See https://llvm.org/LICENSE.txt for license information.
16 // * llvm.nvvm.brev32 --> llvm.bitreverse.i32
17 // * llvm.nvvm.brev64 --> llvm.bitreverse.i64
18 // * llvm.nvvm.clz.i --> llvm.ctlz.i32
19 // * llvm.nvvm.clz.ll --> trunc i64 llvm.ctlz.i64(x) to i32
20 // * llvm.nvvm.popc.i --> llvm.ctpop.i32
21 // * llvm.nvvm.popc.ll --> trunc i64 llvm.ctpop.i64 to i32
22 // * llvm.nvvm.abs.i --> select(x >= -x, x, -x)
23 // * llvm.nvvm.abs.ll --> ibid.
24 // * llvm.nvvm.max.i --> select(x sge y, x, y)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLinkAllCodegenComponents.h33 (void) llvm::createFastRegisterAllocator(); in ForceCodegenLinking()
34 (void) llvm::createBasicRegisterAllocator(); in ForceCodegenLinking()
35 (void) llvm::createGreedyRegisterAllocator(); in ForceCodegenLinking()
36 (void) llvm::createDefaultPBQPRegisterAllocator(); in ForceCodegenLinking()
38 llvm::linkAllBuiltinGCs(); in ForceCodegenLinking()
40 (void) llvm::createBURRListDAGScheduler(nullptr, in ForceCodegenLinking()
41 llvm::CodeGenOpt::Default); in ForceCodegenLinking()
42 (void) llvm::createSourceListDAGScheduler(nullptr, in ForceCodegenLinking()
43 llvm::CodeGenOpt::Default); in ForceCodegenLinking()
44 (void) llvm::createHybridListDAGScheduler(nullptr, in ForceCodegenLinking()
[all …]

12345678910>>...201