Home
last modified time | relevance | path

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

/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c452 CAMLprim LLVMValueRef llvm_mdnode(LLVMContextRef C, value ElementVals) { in llvm_mdnode() argument
453 return LLVMMDNodeInContext(C, (LLVMValueRef*) Op_val(ElementVals), in llvm_mdnode()
454 Wosize_val(ElementVals)); in llvm_mdnode()
506 value ElementVals) { in llvm_const_array() argument
507 return LLVMConstArray(ElementTy, (LLVMValueRef*) Op_val(ElementVals), in llvm_const_array()
508 Wosize_val(ElementVals)); in llvm_const_array()
512 CAMLprim LLVMValueRef llvm_const_struct(LLVMContextRef C, value ElementVals) { in llvm_const_struct() argument
513 return LLVMConstStructInContext(C, (LLVMValueRef *) Op_val(ElementVals), in llvm_const_struct()
514 Wosize_val(ElementVals), 0); in llvm_const_struct()
519 value ElementVals) { in llvm_const_packed_struct() argument
[all …]
/external/llvm/lib/VMCore/
DConstants.cpp621 std::vector<Constant*> ElementVals; in get() local
622 ElementVals.reserve(Str.size() + size_t(AddNull)); in get()
624 ElementVals.push_back(ConstantInt::get(Type::getInt8Ty(Context), Str[i])); in get()
628 ElementVals.push_back(ConstantInt::get(Type::getInt8Ty(Context), 0)); in get()
631 ArrayType *ATy = ArrayType::get(Type::getInt8Ty(Context), ElementVals.size()); in get()
632 return get(ATy, ElementVals); in get()