Home
last modified time | relevance | path

Searched refs:LLVMBuilderRef (Results 1 – 25 of 89) sorted by relevance

1234

/external/skia/src/sksl/
DSkSLJIT.h137 virtual LLVMValueRef load(LLVMBuilderRef builder) = 0;
139 virtual void store(LLVMBuilderRef builder, LLVMValueRef value) = 0;
147 void setBlock(LLVMBuilderRef builder, LLVMBasicBlockRef block);
153 std::unique_ptr<LValue> getLValue(LLVMBuilderRef builder, const Expression& expr);
155 void vectorize(LLVMBuilderRef builder, LLVMValueRef* value, int columns);
157 void vectorize(LLVMBuilderRef builder, const BinaryExpression& b, LLVMValueRef* left,
160 LLVMValueRef compileBinary(LLVMBuilderRef builder, const BinaryExpression& b);
162 LLVMValueRef compileConstructor(LLVMBuilderRef builder, const Constructor& c);
164 LLVMValueRef compileFunctionCall(LLVMBuilderRef builder, const FunctionCall& fc);
166 LLVMValueRef compileIndex(LLVMBuilderRef builder, const IndexExpression& v);
[all …]
DSkSLJIT.cpp220 LLVMValueRef JIT::compileFunctionCall(LLVMBuilderRef builder, const FunctionCall& fc) { in compileFunctionCall()
277 void JIT::setBlock(LLVMBuilderRef builder, LLVMBasicBlockRef block) { in setBlock()
282 std::unique_ptr<JIT::LValue> JIT::getLValue(LLVMBuilderRef builder, const Expression& expr) { in getLValue()
290 LLVMValueRef load(LLVMBuilderRef builder) override { in getLValue()
294 void store(LLVMBuilderRef builder, LLVMValueRef value) override { in getLValue()
327 LLVMValueRef load(LLVMBuilderRef builder) override { in getLValue()
355 void store(LLVMBuilderRef builder, LLVMValueRef value) override { in getLValue()
402 LLVMValueRef load(LLVMBuilderRef builder) override { in getLValue()
428 void store(LLVMBuilderRef builder, LLVMValueRef value) override { in getLValue()
484 void JIT::vectorize(LLVMBuilderRef builder, LLVMValueRef* value, int columns) { in vectorize()
[all …]
/external/skqp/src/sksl/
DSkSLJIT.h137 virtual LLVMValueRef load(LLVMBuilderRef builder) = 0;
139 virtual void store(LLVMBuilderRef builder, LLVMValueRef value) = 0;
147 void setBlock(LLVMBuilderRef builder, LLVMBasicBlockRef block);
153 std::unique_ptr<LValue> getLValue(LLVMBuilderRef builder, const Expression& expr);
155 void vectorize(LLVMBuilderRef builder, LLVMValueRef* value, int columns);
157 void vectorize(LLVMBuilderRef builder, const BinaryExpression& b, LLVMValueRef* left,
160 LLVMValueRef compileBinary(LLVMBuilderRef builder, const BinaryExpression& b);
162 LLVMValueRef compileConstructor(LLVMBuilderRef builder, const Constructor& c);
164 LLVMValueRef compileFunctionCall(LLVMBuilderRef builder, const FunctionCall& fc);
166 LLVMValueRef compileIndex(LLVMBuilderRef builder, const IndexExpression& v);
[all …]
DSkSLJIT.cpp220 LLVMValueRef JIT::compileFunctionCall(LLVMBuilderRef builder, const FunctionCall& fc) { in compileFunctionCall()
277 void JIT::setBlock(LLVMBuilderRef builder, LLVMBasicBlockRef block) { in setBlock()
282 std::unique_ptr<JIT::LValue> JIT::getLValue(LLVMBuilderRef builder, const Expression& expr) { in getLValue()
290 LLVMValueRef load(LLVMBuilderRef builder) override { in getLValue()
294 void store(LLVMBuilderRef builder, LLVMValueRef value) override { in getLValue()
327 LLVMValueRef load(LLVMBuilderRef builder) override { in getLValue()
355 void store(LLVMBuilderRef builder, LLVMValueRef value) override { in getLValue()
402 LLVMValueRef load(LLVMBuilderRef builder) override { in getLValue()
428 void store(LLVMBuilderRef builder, LLVMValueRef value) override { in getLValue()
484 void JIT::vectorize(LLVMBuilderRef builder, LLVMValueRef* value, int columns) { in vectorize()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h73 typedef struct LLVMOpaqueBuilder *LLVMBuilderRef; typedef
829 LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C);
830 LLVMBuilderRef LLVMCreateBuilder(void);
831 void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block,
833 void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr);
834 void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block);
835 LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder);
836 void LLVMClearInsertionPosition(LLVMBuilderRef Builder);
837 void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr);
838 void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr,
[all …]
/external/llvm/include/llvm-c/
DCore.h2870 LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C);
2871 LLVMBuilderRef LLVMCreateBuilder(void);
2872 void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block,
2874 void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr);
2875 void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block);
2876 LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder);
2877 void LLVMClearInsertionPosition(LLVMBuilderRef Builder);
2878 void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr);
2879 void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr,
2881 void LLVMDisposeBuilder(LLVMBuilderRef Builder);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
DCore.h3103 LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C);
3104 LLVMBuilderRef LLVMCreateBuilder(void);
3105 void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block,
3107 void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr);
3108 void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block);
3109 LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder);
3110 void LLVMClearInsertionPosition(LLVMBuilderRef Builder);
3111 void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr);
3112 void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr,
3114 void LLVMDisposeBuilder(LLVMBuilderRef Builder);
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DCore.cpp1683 LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C) { in LLVMCreateBuilderInContext()
1687 LLVMBuilderRef LLVMCreateBuilder(void) { in LLVMCreateBuilder()
1691 void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block, in LLVMPositionBuilder()
1698 void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr) { in LLVMPositionBuilderBefore()
1703 void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block) { in LLVMPositionBuilderAtEnd()
1708 LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder) { in LLVMGetInsertBlock()
1712 void LLVMClearInsertionPosition(LLVMBuilderRef Builder) { in LLVMClearInsertionPosition()
1716 void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr) { in LLVMInsertIntoBuilder()
1720 void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, in LLVMInsertIntoBuilderWithName()
1725 void LLVMDisposeBuilder(LLVMBuilderRef Builder) { in LLVMDisposeBuilder()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c128 LLVMBuilderRef builder = mask->skip.gallivm->builder; in lp_build_mask_check()
222 LLVMBuilderRef builder = gallivm->builder; in lp_build_loop_begin()
245 LLVMBuilderRef builder = state->gallivm->builder; in lp_build_loop_end_cond()
296 LLVMBuilderRef builder = gallivm->builder; in lp_build_for_loop_begin()
325 LLVMBuilderRef builder = state->gallivm->builder; in lp_build_for_loop_end()
408 LLVMBuilderRef builder = ifthen->gallivm->builder; in lp_build_else()
430 LLVMBuilderRef builder = ifthen->gallivm->builder; in lp_build_endif()
457 static LLVMBuilderRef
460 LLVMBuilderRef builder = gallivm->builder; in create_builder_at_entry()
465 LLVMBuilderRef first_builder = LLVMCreateBuilderInContext(gallivm->context); in create_builder_at_entry()
[all …]
Dlp_bld_bitarit.c43 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_or()
69 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_xor()
97 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_and()
126 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_andnot()
153 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_not()
176 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_shl()
200 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_shr()
Dlp_bld_struct.h103 lp_build_pointer_get(LLVMBuilderRef builder,
114 lp_build_pointer_get_unaligned(LLVMBuilderRef builder,
123 lp_build_pointer_set(LLVMBuilderRef builder,
135 lp_build_pointer_set_unaligned(LLVMBuilderRef builder,
Dlp_bld_intr.h86 lp_build_intrinsic(LLVMBuilderRef builder,
95 lp_build_intrinsic_unary(LLVMBuilderRef builder,
102 lp_build_intrinsic_binary(LLVMBuilderRef builder,
Dlp_bld_arit.c280 lp_build_fmuladd(LLVMBuilderRef builder, in lp_build_fmuladd()
499 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_comp()
537 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_add()
628 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_horizontal_add()
699 LLVMBuilderRef builder = gallivm->builder; in lp_build_horizontal_add4x4f()
764 LLVMBuilderRef builder = gallivm->builder; in lp_build_hadd_partial4()
838 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_sub()
971 LLVMBuilderRef builder = gallivm->builder; in lp_build_mul_norm()
1026 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_mul()
1107 LLVMBuilderRef builder = gallivm->builder; in lp_build_mul_32_lohi_cpu()
[all …]
Dlp_bld_struct.c133 lp_build_pointer_get(LLVMBuilderRef builder, in lp_build_pointer_get()
150 lp_build_pointer_get_unaligned(LLVMBuilderRef builder, in lp_build_pointer_get_unaligned()
169 lp_build_pointer_set(LLVMBuilderRef builder, in lp_build_pointer_set()
181 lp_build_pointer_set_unaligned(LLVMBuilderRef builder, in lp_build_pointer_set_unaligned()
Dlp_bld_format_cached.c61 LLVMBuilderRef builder = gallivm->builder; in update_cache_access()
84 LLVMBuilderRef builder = gallivm->builder; in store_cached_block()
115 LLVMBuilderRef builder = gallivm->builder; in lookup_cached_pixel()
131 LLVMBuilderRef builder = gallivm->builder; in lookup_tag_data()
150 LLVMBuilderRef builder = gallivm->builder; in update_cached_block()
254 LLVMBuilderRef builder = gallivm->builder; in lp_build_fetch_cached_texels()
Dlp_bld_intr.c220 lp_build_intrinsic(LLVMBuilderRef builder, in lp_build_intrinsic()
262 lp_build_intrinsic_unary(LLVMBuilderRef builder, in lp_build_intrinsic_unary()
272 lp_build_intrinsic_binary(LLVMBuilderRef builder, in lp_build_intrinsic_binary()
305 LLVMBuilderRef builder = gallivm->builder; in lp_build_intrinsic_binary_anylength()
383 LLVMBuilderRef builder = gallivm->builder; in lp_build_intrinsic_map()
Dlp_bld_tgsi_soa.c179 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_function_init()
224 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_update()
269 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_cond_push()
290 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_cond_invert()
324 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_bgnloop()
358 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_break()
407 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_continue()
423 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_endloop()
534 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_endswitch()
586 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_case()
[all …]
Dlp_bld_quad.c92 LLVMBuilderRef builder = gallivm->builder; in lp_build_packed_ddx_ddy_onecoord()
127 LLVMBuilderRef builder = gallivm->builder; in lp_build_packed_ddx_ddy_twocoord()
177 LLVMBuilderRef builder = gallivm->builder; in lp_bld_quad_twiddle()
Dlp_bld_logic.c84 LLVMBuilderRef builder = gallivm->builder; in lp_build_compare_ext()
256 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_select_bitwise()
305 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_select()
434 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_select_aos()
489 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_any_true_range()
/external/llvm/lib/IR/
DCore.cpp2374 LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C) { in LLVMCreateBuilderInContext()
2378 LLVMBuilderRef LLVMCreateBuilder(void) { in LLVMCreateBuilder()
2382 void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block, in LLVMPositionBuilder()
2389 void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr) { in LLVMPositionBuilderBefore()
2394 void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block) { in LLVMPositionBuilderAtEnd()
2399 LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder) { in LLVMGetInsertBlock()
2403 void LLVMClearInsertionPosition(LLVMBuilderRef Builder) { in LLVMClearInsertionPosition()
2407 void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr) { in LLVMInsertIntoBuilder()
2411 void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, in LLVMInsertIntoBuilderWithName()
2416 void LLVMDisposeBuilder(LLVMBuilderRef Builder) { in LLVMDisposeBuilder()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DCore.cpp2604 LLVMBuilderRef LLVMCreateBuilderInContext(LLVMContextRef C) { in LLVMCreateBuilderInContext()
2608 LLVMBuilderRef LLVMCreateBuilder(void) { in LLVMCreateBuilder()
2612 void LLVMPositionBuilder(LLVMBuilderRef Builder, LLVMBasicBlockRef Block, in LLVMPositionBuilder()
2619 void LLVMPositionBuilderBefore(LLVMBuilderRef Builder, LLVMValueRef Instr) { in LLVMPositionBuilderBefore()
2624 void LLVMPositionBuilderAtEnd(LLVMBuilderRef Builder, LLVMBasicBlockRef Block) { in LLVMPositionBuilderAtEnd()
2629 LLVMBasicBlockRef LLVMGetInsertBlock(LLVMBuilderRef Builder) { in LLVMGetInsertBlock()
2633 void LLVMClearInsertionPosition(LLVMBuilderRef Builder) { in LLVMClearInsertionPosition()
2637 void LLVMInsertIntoBuilder(LLVMBuilderRef Builder, LLVMValueRef Instr) { in LLVMInsertIntoBuilder()
2641 void LLVMInsertIntoBuilderWithName(LLVMBuilderRef Builder, LLVMValueRef Instr, in LLVMInsertIntoBuilderWithName()
2646 void LLVMDisposeBuilder(LLVMBuilderRef Builder) { in LLVMDisposeBuilder()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Dcalc.c22 typedef LLVMValueRef (*binop_func_t)(LLVMBuilderRef, LLVMValueRef LHS,
42 LLVMBuilderRef builder, in build_from_tokens()
124 LLVMBuilderRef builder = LLVMCreateBuilder(); in handle_line()
/external/llvm/tools/llvm-c-test/
Dcalc.c22 typedef LLVMValueRef (*binop_func_t)(LLVMBuilderRef, LLVMValueRef LHS,
42 LLVMBuilderRef builder, in build_from_tokens()
124 LLVMBuilderRef builder = LLVMCreateBuilder(); in handle_line()
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
DIRBindings.h47 void LLVMSetCurrentDebugLocation2(LLVMBuilderRef Bref, unsigned Line,
51 struct LLVMDebugLocMetadata LLVMGetCurrentDebugLocation2(LLVMBuilderRef Bref);
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_setup.c95 LLVMBuilderRef builder = gallivm->builder; in store_coef()
133 LLVMBuilderRef builder = gallivm->builder; in emit_facing_coef()
165 LLVMBuilderRef b = gallivm->builder; in vert_attrib()
180 LLVMBuilderRef b = gallivm->builder; in lp_twoside()
212 LLVMBuilderRef b = gallivm->builder; in lp_do_offset_tri()
362 LLVMBuilderRef b = gallivm->builder; in load_attribute()
403 LLVMBuilderRef b = gallivm->builder; in emit_coef4()
466 LLVMBuilderRef b = gallivm->builder; in apply_perspective_corr()
496 LLVMBuilderRef builder = gallivm->builder; in emit_apply_cyl_wrap()
619 set_noalias(LLVMBuilderRef builder, in set_noalias()
[all …]

1234