#include "CodeGenIntrinsics.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
#include <algorithm>
#include <cassert>
usingnamespacellvm;
CodeGenIntrinsicTable::CodeGenIntrinsicTable(const RecordKeeper &RC) { … }
CodeGenIntrinsic::CodeGenIntrinsic(const Record *R,
ArrayRef<const Record *> DefaultProperties)
: … { … }
void CodeGenIntrinsic::setDefaultProperties(
ArrayRef<const Record *> DefaultProperties) { … }
void CodeGenIntrinsic::setProperty(const Record *R) { … }
bool CodeGenIntrinsic::isParamAPointer(unsigned ParamIdx) const { … }
bool CodeGenIntrinsic::isParamImmArg(unsigned ParamIdx) const { … }
void CodeGenIntrinsic::addArgAttribute(unsigned Idx, ArgAttrKind AK,
uint64_t V) { … }