Home
last modified time | relevance | path

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

/external/llvm/lib/Target/
DTargetMachineC.cpp164 std::string StringRep = unwrap(T)->getTargetTriple().str(); in LLVMGetTargetMachineTriple() local
165 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple()
169 std::string StringRep = unwrap(T)->getTargetCPU(); in LLVMGetTargetMachineCPU() local
170 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU()
174 std::string StringRep = unwrap(T)->getTargetFeatureString(); in LLVMGetTargetMachineFeatureString() local
175 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()
58 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData() local
59 return strdup(StringRep.c_str()); in LLVMCopyStringRepOfTargetData()
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c55 CAMLprim value llvm_datalayout_of_string(value StringRep) { in llvm_datalayout_of_string() argument
56 return llvm_alloc_data_layout(LLVMCreateTargetData(String_val(StringRep))); in llvm_datalayout_of_string()
61 char *StringRep = LLVMCopyStringRepOfTargetData(DataLayout_val(TD)); in llvm_datalayout_as_string() local
62 value Copy = copy_string(StringRep); in llvm_datalayout_as_string()
63 LLVMDisposeMessage(StringRep); in llvm_datalayout_as_string()
/external/llvm/include/llvm-c/
DTarget.h188 LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep);