Home
last modified time | relevance | path

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

/external/llvm/lib/Target/
DTargetMachineC.cpp160 std::string StringRep = unwrap(T)->getTargetTriple(); in LLVMGetTargetMachineTriple() local
161 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple()
165 std::string StringRep = unwrap(T)->getTargetCPU(); in LLVMGetTargetMachineCPU() local
166 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU()
170 std::string StringRep = unwrap(T)->getTargetFeatureString(); in LLVMGetTargetMachineFeatureString() local
171 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString()
DTarget.cpp45 LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep) { in LLVMCreateTargetData() argument
46 return wrap(new DataLayout(StringRep)); in LLVMCreateTargetData()
61 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData() local
62 return strdup(StringRep.c_str()); in LLVMCopyStringRepOfTargetData()
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c84 CAMLprim value llvm_datalayout_of_string(value StringRep) { in llvm_datalayout_of_string() argument
85 return llvm_alloc_data_layout(LLVMCreateTargetData(String_val(StringRep))); in llvm_datalayout_of_string()
90 char *StringRep = LLVMCopyStringRepOfTargetData(DataLayout_val(TD)); in llvm_datalayout_as_string() local
91 value Copy = copy_string(StringRep); in llvm_datalayout_as_string()
92 LLVMDisposeMessage(StringRep); in llvm_datalayout_as_string()
/external/llvm/include/llvm-c/
DTarget.h188 LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep);