Searched refs:StringRep (Results 1 – 4 of 4) sorted by relevance
160 std::string StringRep = unwrap(T)->getTargetTriple(); in LLVMGetTargetMachineTriple() local161 return strdup(StringRep.c_str()); in LLVMGetTargetMachineTriple()165 std::string StringRep = unwrap(T)->getTargetCPU(); in LLVMGetTargetMachineCPU() local166 return strdup(StringRep.c_str()); in LLVMGetTargetMachineCPU()170 std::string StringRep = unwrap(T)->getTargetFeatureString(); in LLVMGetTargetMachineFeatureString() local171 return strdup(StringRep.c_str()); in LLVMGetTargetMachineFeatureString()
45 LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep) { in LLVMCreateTargetData() argument46 return wrap(new DataLayout(StringRep)); in LLVMCreateTargetData()61 std::string StringRep = unwrap(TD)->getStringRepresentation(); in LLVMCopyStringRepOfTargetData() local62 return strdup(StringRep.c_str()); in LLVMCopyStringRepOfTargetData()
84 CAMLprim value llvm_datalayout_of_string(value StringRep) { in llvm_datalayout_of_string() argument85 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() local91 value Copy = copy_string(StringRep); in llvm_datalayout_as_string()92 LLVMDisposeMessage(StringRep); in llvm_datalayout_as_string()
188 LLVMTargetDataRef LLVMCreateTargetData(const char *StringRep);