Home
last modified time | relevance | path

Searched refs:MDKindID (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c116 unsigned MDKindID = LLVMGetMDKindIDInContext(C, String_val(Name), in llvm_mdkind_id() local
118 return Val_int(MDKindID); in llvm_mdkind_id()
538 CAMLprim value llvm_metadata(LLVMValueRef Val, value MDKindID) { in llvm_metadata() argument
539 CAMLparam1(MDKindID); in llvm_metadata()
541 if ((MD = LLVMGetMetadata(Val, Int_val(MDKindID)))) { in llvm_metadata()
550 CAMLprim value llvm_set_metadata(LLVMValueRef Val, value MDKindID, in llvm_set_metadata() argument
552 LLVMSetMetadata(Val, Int_val(MDKindID), MD); in llvm_set_metadata()
557 CAMLprim value llvm_clear_metadata(LLVMValueRef Val, value MDKindID) { in llvm_clear_metadata() argument
558 LLVMSetMetadata(Val, Int_val(MDKindID), NULL); in llvm_clear_metadata()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c183 unsigned MDKindID = LLVMGetMDKindIDInContext(C, String_val(Name), in llvm_mdkind_id() local
185 return Val_int(MDKindID); in llvm_mdkind_id()
676 CAMLprim value llvm_metadata(LLVMValueRef Val, value MDKindID) { in llvm_metadata() argument
677 CAMLparam1(MDKindID); in llvm_metadata()
679 if ((MD = LLVMGetMetadata(Val, Int_val(MDKindID)))) { in llvm_metadata()
688 CAMLprim value llvm_set_metadata(LLVMValueRef Val, value MDKindID, in llvm_set_metadata() argument
690 LLVMSetMetadata(Val, Int_val(MDKindID), MD); in llvm_set_metadata()
695 CAMLprim value llvm_clear_metadata(LLVMValueRef Val, value MDKindID) { in llvm_clear_metadata() argument
696 LLVMSetMetadata(Val, Int_val(MDKindID), NULL); in llvm_clear_metadata()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DBitcodeWriter.cpp701 for (unsigned MDKindID = 0, e = Names.size(); MDKindID != e; ++MDKindID) { in WriteModuleMetadataStore() local
702 Record.push_back(MDKindID); in WriteModuleMetadataStore()
703 StringRef KName = Names[MDKindID]; in WriteModuleMetadataStore()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1926 for (unsigned MDKindID = 0, e = Names.size(); MDKindID != e; ++MDKindID) { in writeModuleMetadataKinds() local
1927 Record.push_back(MDKindID); in writeModuleMetadataKinds()
1928 StringRef KName = Names[MDKindID]; in writeModuleMetadataKinds()
/external/llvm/bindings/go/llvm/
Dir.go355 func (c Context) MDKindID(name string) (id int) { func
362 func MDKindID(name string) (id int) { func