Lines Matching refs:string
44 #include <string>
69 /// \brief Check if a string contains SPIR-V binary.
70 bool IsSPIRVBinary(std::string &Img);
78 std::string &ErrMsg, bool FromText, bool ToText);
83 bool ConvertSPIRV(std::string &Input, std::string &Out,
84 std::string &ErrMsg, bool ToText);
86 /// \brief Check if a string contains SPIR-V in internal text format.
87 bool IsSPIRVText(std::string &Img);
96 bool WriteSPIRV(llvm::Module *M, llvm::raw_ostream &OS, std::string &ErrMsg);
101 std::string &ErrMsg);
105 bool RegularizeLLVMForSPIRV(llvm::Module *M, std::string &ErrMsg);
108 void MangleOpenCLBuiltin(const std::string &UnmangledName,
109 ArrayRef<Type*> ArgTypes, std::string &MangledName);