Home
last modified time | relevance | path

Searched refs:LLVMValueRef (Results 1 – 22 of 22) sorted by relevance

/minix/external/bsd/llvm/dist/llvm/include/llvm-c/
H A DCore.h1678 LLVMValueRef LLVMConstAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant);
1682 LLVMValueRef LLVMConstSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant);
1686 LLVMValueRef LLVMConstMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant);
1697 LLVMValueRef LLVMConstAnd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant);
1698 LLVMValueRef LLVMConstOr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant);
1699 LLVMValueRef LLVMConstXor(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant);
1704 LLVMValueRef LLVMConstShl(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant);
2675 LLVMValueRef LLVMBuildAdd(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
2683 LLVMValueRef LLVMBuildSub(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
2691 LLVMValueRef LLVMBuildMul(LLVMBuilderRef, LLVMValueRef LHS, LLVMValueRef RHS,
[all …]
H A DExecutionEngine.h135 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F,
139 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
143 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F);
159 LLVMValueRef *OutFn);
162 LLVMValueRef Fn);
168 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
171 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global);
H A DAnalysis.h50 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
54 void LLVMViewFunctionCFG(LLVMValueRef Fn);
55 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
H A DTarget.h266 LLVMValueRef GlobalVar);
/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DCore.cpp1006 LLVMValueRef LLVMConstAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstAdd()
1023 LLVMValueRef LLVMConstFAdd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstFAdd()
1028 LLVMValueRef LLVMConstSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstSub()
1045 LLVMValueRef LLVMConstFSub(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstFSub()
1050 LLVMValueRef LLVMConstMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstMul()
1067 LLVMValueRef LLVMConstFMul(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstFMul()
1072 LLVMValueRef LLVMConstUDiv(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstUDiv()
1108 LLVMValueRef LLVMConstAnd(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstAnd()
1113 LLVMValueRef LLVMConstOr(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstOr()
1118 LLVMValueRef LLVMConstXor(LLVMValueRef LHSConstant, LLVMValueRef RHSConstant) { in LLVMConstXor()
[all …]
/minix/external/bsd/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c1781 CAMLprim LLVMValueRef llvm_build_add(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_add()
1799 CAMLprim LLVMValueRef llvm_build_fadd(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_fadd()
1805 CAMLprim LLVMValueRef llvm_build_sub(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_sub()
1823 CAMLprim LLVMValueRef llvm_build_fsub(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_fsub()
1829 CAMLprim LLVMValueRef llvm_build_mul(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_mul()
1847 CAMLprim LLVMValueRef llvm_build_fmul(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_fmul()
1853 CAMLprim LLVMValueRef llvm_build_udiv(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_udiv()
1895 CAMLprim LLVMValueRef llvm_build_shl(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_shl()
1913 CAMLprim LLVMValueRef llvm_build_and(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_and()
1919 CAMLprim LLVMValueRef llvm_build_or(LLVMValueRef LHS, LLVMValueRef RHS, in llvm_build_or()
[all …]
/minix/external/bsd/llvm/dist/llvm/tools/llvm-c-test/
H A Dcalc.c23 typedef LLVMValueRef (*binop_func_t)(LLVMBuilderRef, LLVMValueRef LHS,
24 LLVMValueRef RHS, const char *Name);
42 static LLVMValueRef build_from_tokens(char **tokens, int ntokens, in build_from_tokens()
44 LLVMValueRef param) { in build_from_tokens()
45 LLVMValueRef stack[MAX_DEPTH]; in build_from_tokens()
71 LLVMValueRef off; in build_from_tokens()
115 LLVMValueRef param; in handle_line()
116 LLVMValueRef res; in handle_line()
124 LLVMValueRef F = LLVMAddFunction(M, name, Fty); in handle_line()
H A Dmodule.c56 LLVMValueRef f; in module_list_functions()
64 LLVMValueRef isn; in module_list_functions()
78 LLVMValueRef callee = in module_list_functions()
97 LLVMValueRef g; in module_list_globals()
H A Dmetadata.c20 LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) }; in add_named_metadata_operand()
32 LLVMValueRef values[] = { LLVMConstInt(LLVMInt32Type(), 0, 0) }; in set_metadata()
/minix/external/bsd/llvm/dist/llvm/bindings/go/llvm/
H A DIRBindings.h36 void LLVMAddFunctionAttr2(LLVMValueRef Fn, uint64_t PA);
37 uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn);
38 void LLVMRemoveFunctionAttr2(LLVMValueRef Fn, uint64_t PA);
40 LLVMMetadataRef LLVMConstantAsMetadata(LLVMValueRef Val);
50 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD);
H A DIRBindings.cpp25 void LLVMAddFunctionAttr2(LLVMValueRef Fn, uint64_t PA) { in LLVMAddFunctionAttr2()
36 uint64_t LLVMGetFunctionAttr2(LLVMValueRef Fn) { in LLVMGetFunctionAttr2()
42 void LLVMRemoveFunctionAttr2(LLVMValueRef Fn, uint64_t PA) { in LLVMRemoveFunctionAttr2()
53 LLVMMetadataRef LLVMConstantAsMetadata(LLVMValueRef C) { in LLVMConstantAsMetadata()
83 void LLVMSetMetadata2(LLVMValueRef Inst, unsigned KindID, LLVMMetadataRef MD) { in LLVMSetMetadata2()
H A DDIBuilderBindings.h58 unsigned ScopeLine, unsigned Flags, int IsOptimized, LLVMValueRef Function);
119 LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(LLVMDIBuilderRef D,
120 LLVMValueRef Storage,
125 LLVMValueRef LLVMDIBuilderInsertValueAtEnd(LLVMDIBuilderRef D, LLVMValueRef Val,
H A DDIBuilderBindings.cpp87 unsigned ScopeLine, unsigned Flags, int IsOptimized, LLVMValueRef Func) { in LLVMDIBuilderCreateFunction()
220 LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(LLVMDIBuilderRef Dref, in LLVMDIBuilderInsertDeclareAtEnd()
221 LLVMValueRef Storage, in LLVMDIBuilderInsertDeclareAtEnd()
232 LLVMValueRef LLVMDIBuilderInsertValueAtEnd(LLVMDIBuilderRef Dref, in LLVMDIBuilderInsertValueAtEnd()
233 LLVMValueRef Val, uint64_t Offset, in LLVMDIBuilderInsertValueAtEnd()
H A Dir.go38 C C.LLVMValueRef
85 func llvmValueRefPtr(t *Value) *C.LLVMValueRef { return (*C.LLVMValueRef)(unsafe.Pointer(t)) }
99 func llvmValueRefs(values []Value) (*C.LLVMValueRef, C.unsigned) {
100 var pt *C.LLVMValueRef
/minix/external/bsd/llvm/dist/llvm/bindings/ocaml/analysis/
H A Danalysis_ocaml.c45 CAMLprim value llvm_verify_function(LLVMValueRef Fn) { in llvm_verify_function()
56 CAMLprim value llvm_assert_valid_function(LLVMValueRef Fn) { in llvm_assert_valid_function()
62 CAMLprim value llvm_view_function_cfg(LLVMValueRef Fn) { in llvm_view_function_cfg()
68 CAMLprim value llvm_view_function_cfg_only(LLVMValueRef Fn) { in llvm_view_function_cfg_only()
/minix/external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp188 LLVMValueRef stackmap = LLVMAddFunction( in buildFunctionThatUsesStackmap()
199 LLVMValueRef stackmapArgs[] = { in buildFunctionThatUsesStackmap()
218 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "intVal"); in buildModuleWithCodeAndData()
230 LLVMValueRef IntVal = LLVMBuildLoad(Builder, GlobalVar, "intVal"); in buildModuleWithCodeAndData()
249 LLVMValueRef Arg = LLVMGetParam(Function2, 0); in buildModuleWithCodeAndData()
313 for (LLVMValueRef value = LLVMGetFirstFunction(Module); in buildAndRunOptPasses()
325 LLVMValueRef Function;
326 LLVMValueRef Function2;
355 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "simple_value"); in TEST_F()
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DAnalysis.cpp98 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) { in LLVMVerifyFunction()
109 void LLVMViewFunctionCFG(LLVMValueRef Fn) { in LLVMViewFunctionCFG()
114 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn) { in LLVMViewFunctionCFGOnly()
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp242 int LLVMRunFunctionAsMain(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunctionAsMain()
254 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunction()
269 void LLVMFreeMachineCodeForFunction(LLVMExecutionEngineRef EE, LLVMValueRef F) { in LLVMFreeMachineCodeForFunction()
298 LLVMValueRef *OutFn) { in LLVMFindFunction()
307 LLVMValueRef Fn) { in LLVMRecompileAndRelinkFunction()
320 void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global, in LLVMAddGlobalMapping()
325 void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) { in LLVMGetPointerToGlobal()
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DValue.h709 DEFINE_ISA_CONVERSION_FUNCTIONS(Value, LLVMValueRef)
713 inline Value **unwrap(LLVMValueRef *Vals) {
718 inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
720 for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
727 inline LLVMValueRef *wrap(const Value **Vals) {
728 return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
/minix/external/bsd/llvm/dist/llvm/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c112 CAMLprim value llvm_ee_add_global_mapping(LLVMValueRef Global, value Ptr, in llvm_ee_add_global_mapping()
/minix/external/bsd/llvm/dist/llvm/lib/Target/
H A DTarget.cpp118 LLVMValueRef GlobalVar) { in LLVMPreferredAlignmentOfGlobal()
/minix/external/bsd/llvm/dist/llvm/bindings/ocaml/target/
H A Dtarget_ocaml.c132 CAMLprim value llvm_datalayout_preferred_align_of_global(LLVMValueRef GlobalVar, in llvm_datalayout_preferred_align_of_global()