#include "llvm/IR/InlineAsm.h"
#include "ConstantsContext.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Errc.h"
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstdlib>
usingnamespacellvm;
InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString,
const std::string &constraints, bool hasSideEffects,
bool isAlignStack, AsmDialect asmDialect, bool canThrow)
: … { … }
InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString,
StringRef Constraints, bool hasSideEffects,
bool isAlignStack, AsmDialect asmDialect,
bool canThrow) { … }
void InlineAsm::destroyConstant() { … }
FunctionType *InlineAsm::getFunctionType() const { … }
void InlineAsm::collectAsmStrs(SmallVectorImpl<StringRef> &AsmStrs) const { … }
bool InlineAsm::ConstraintInfo::Parse(StringRef Str,
InlineAsm::ConstraintInfoVector &ConstraintsSoFar) { … }
void InlineAsm::ConstraintInfo::selectAlternative(unsigned index) { … }
InlineAsm::ConstraintInfoVector
InlineAsm::ParseConstraints(StringRef Constraints) { … }
static Error makeStringError(const char *Msg) { … }
Error InlineAsm::verify(FunctionType *Ty, StringRef ConstStr) { … }