|
LLVM 23.0.0git
|
#include "llvm/IR/Module.h"
Public Member Functions | |
| LLVM_ABI bool | set (StringRef Name, std::string Value) |
| Set a property using a string name. | |
| LLVM_ABI SmallVector< std::pair< StringRef, StringRef > > | getAsStrings () const |
| Get a list of set properties as pairs of key and value. | |
| bool | operator== (const GlobalAsmProperties &Other) const |
| bool | operator!= (const GlobalAsmProperties &Other) const |
Public Attributes | |
| std::string | TargetFeatures |
| std::string | TargetCPU |
| SmallVector< std::pair< StringRef, StringRef > > Module::GlobalAsmProperties::getAsStrings | ( | ) | const |
Get a list of set properties as pairs of key and value.
Definition at line 992 of file Module.cpp.
|
inline |
Definition at line 188 of file Module.h.
References llvm::Other.
|
inline |
Definition at line 183 of file Module.h.
References llvm::Other, TargetCPU, and TargetFeatures.
Set a property using a string name.
Returns whether the property name was valid.
Definition at line 981 of file Module.cpp.
| std::string llvm::Module::GlobalAsmProperties::TargetCPU |
Definition at line 174 of file Module.h.
Referenced by operator==().
| std::string llvm::Module::GlobalAsmProperties::TargetFeatures |
Definition at line 173 of file Module.h.
Referenced by operator==().