Home
last modified time | relevance | path

Searched refs:ElementVals (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c571 CAMLprim LLVMValueRef llvm_mdnode(LLVMContextRef C, value ElementVals) { in llvm_mdnode() argument
572 return LLVMMDNodeInContext(C, (LLVMValueRef*) Op_val(ElementVals), in llvm_mdnode()
573 Wosize_val(ElementVals)); in llvm_mdnode()
664 value ElementVals) { in llvm_const_array() argument
665 return LLVMConstArray(ElementTy, (LLVMValueRef*) Op_val(ElementVals), in llvm_const_array()
666 Wosize_val(ElementVals)); in llvm_const_array()
670 CAMLprim LLVMValueRef llvm_const_struct(LLVMContextRef C, value ElementVals) { in llvm_const_struct() argument
671 return LLVMConstStructInContext(C, (LLVMValueRef *) Op_val(ElementVals), in llvm_const_struct()
672 Wosize_val(ElementVals), 0); in llvm_const_struct()
676 CAMLprim LLVMValueRef llvm_const_named_struct(LLVMTypeRef Ty, value ElementVals) { in llvm_const_named_struct() argument
[all …]
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c709 CAMLprim LLVMValueRef llvm_mdnode(LLVMContextRef C, value ElementVals) { in llvm_mdnode() argument
710 return LLVMMDNodeInContext(C, (LLVMValueRef*) Op_val(ElementVals), in llvm_mdnode()
711 Wosize_val(ElementVals)); in llvm_mdnode()
848 value ElementVals) { in llvm_const_array() argument
849 return LLVMConstArray(ElementTy, (LLVMValueRef*) Op_val(ElementVals), in llvm_const_array()
850 Wosize_val(ElementVals)); in llvm_const_array()
854 CAMLprim LLVMValueRef llvm_const_struct(LLVMContextRef C, value ElementVals) { in llvm_const_struct() argument
855 return LLVMConstStructInContext(C, (LLVMValueRef *) Op_val(ElementVals), in llvm_const_struct()
856 Wosize_val(ElementVals), 0); in llvm_const_struct()
860 CAMLprim LLVMValueRef llvm_const_named_struct(LLVMTypeRef Ty, value ElementVals) { in llvm_const_named_struct() argument
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp631 std::vector<Constant*> ElementVals; in get() local
632 ElementVals.reserve(Str.size() + size_t(AddNull)); in get()
634 ElementVals.push_back(ConstantInt::get(Type::getInt8Ty(Context), Str[i])); in get()
638 ElementVals.push_back(ConstantInt::get(Type::getInt8Ty(Context), 0)); in get()
641 ArrayType *ATy = ArrayType::get(Type::getInt8Ty(Context), ElementVals.size()); in get()
642 return get(ATy, ElementVals); in get()
/external/llvm/lib/IR/
DConstants.cpp2479 SmallVector<uint8_t, 64> ElementVals; in getString() local
2480 ElementVals.append(Str.begin(), Str.end()); in getString()
2481 ElementVals.push_back(0); in getString()
2482 return get(Context, ElementVals); in getString()