Lines Matching refs:NVPTXAsmPrinter
1 //===-- NVPTXAsmPrinter.cpp - NVPTX LLVM assembly writer ------------------===//
15 #include "NVPTXAsmPrinter.h"
255 void NVPTXAsmPrinter::emitLineNumberAsDotLoc(const MachineInstr &MI) {
306 void NVPTXAsmPrinter::EmitInstruction(const MachineInstr *MI) {
317 void NVPTXAsmPrinter::lowerToMCInst(const MachineInstr *MI, MCInst &OutMI) {
329 bool NVPTXAsmPrinter::lowerOperand(const MachineOperand &MO,
370 unsigned NVPTXAsmPrinter::encodeVirtualRegister(unsigned Reg) {
406 MCOperand NVPTXAsmPrinter::GetSymbolRef(const MachineOperand &MO,
414 void NVPTXAsmPrinter::printReturnValStr(const Function *F, raw_ostream &O) {
499 void NVPTXAsmPrinter::printReturnValStr(const MachineFunction &MF,
505 void NVPTXAsmPrinter::EmitFunctionEntryLabel() {
537 void NVPTXAsmPrinter::EmitFunctionBodyStart() {
548 void NVPTXAsmPrinter::EmitFunctionBodyEnd() {
553 void NVPTXAsmPrinter::emitKernelFunctionDirectives(const Function &F,
604 void NVPTXAsmPrinter::getVirtualRegisterName(unsigned vr, bool isVec,
618 void NVPTXAsmPrinter::emitVirtualRegister(unsigned int vr, bool isVec,
623 void NVPTXAsmPrinter::printVecModifiedImmediate(
655 void NVPTXAsmPrinter::emitDeclaration(const Function *F, raw_ostream &O) {
763 void NVPTXAsmPrinter::emitDeclarations(const Module &M, raw_ostream &O) {
817 void NVPTXAsmPrinter::recordAndEmitFilenames(Module &M) {
858 bool NVPTXAsmPrinter::doInitialization(Module &M) {
900 void NVPTXAsmPrinter::emitGlobals(const Module &M) {
933 void NVPTXAsmPrinter::emitHeader(Module &M, raw_ostream &O) {
967 bool NVPTXAsmPrinter::doFinalization(Module &M) {
1022 void NVPTXAsmPrinter::emitLinkageDirective(const GlobalValue *V,
1050 void NVPTXAsmPrinter::printModuleLevelGV(const GlobalVariable *GVar,
1269 void NVPTXAsmPrinter::emitDemotedVars(const Function *f, raw_ostream &O) {
1281 void NVPTXAsmPrinter::emitPTXAddressSpace(unsigned int AddressSpace,
1303 NVPTXAsmPrinter::getPTXFundamentalTypeStr(const Type *Ty, bool useB4PTR) const {
1340 void NVPTXAsmPrinter::emitPTXGlobalVariable(const GlobalVariable *GVar,
1426 void NVPTXAsmPrinter::printParamName(Function::const_arg_iterator I,
1444 void NVPTXAsmPrinter::printParamName(int paramIndex, raw_ostream &O) {
1463 void NVPTXAsmPrinter::emitFunctionParamList(const Function *F, raw_ostream &O) {
1630 void NVPTXAsmPrinter::emitFunctionParamList(const MachineFunction &MF,
1636 void NVPTXAsmPrinter::setAndEmitFunctionVirtualRegisters(
1703 void NVPTXAsmPrinter::printFPConstant(const ConstantFP *Fp, raw_ostream &O) {
1728 void NVPTXAsmPrinter::printScalarConstant(const Constant *CPV, raw_ostream &O) {
1758 void NVPTXAsmPrinter::bufferLEByte(const Constant *CPV, int Bytes,
1883 void NVPTXAsmPrinter::bufferAggregateConstant(const Constant *CPV,
1927 bool NVPTXAsmPrinter::isImageType(const Type *Ty) {
1940 bool NVPTXAsmPrinter::ignoreLoc(const MachineInstr &MI) {
1998 RegisterAsmPrinter<NVPTXAsmPrinter> X(TheNVPTXTarget32);
1999 RegisterAsmPrinter<NVPTXAsmPrinter> Y(TheNVPTXTarget64);
2002 void NVPTXAsmPrinter::emitSrcInText(StringRef filename, unsigned line) {
2015 LineReader *NVPTXAsmPrinter::getReader(std::string filename) {
2042 RegisterAsmPrinter<NVPTXAsmPrinter> X(TheNVPTXTarget32);
2043 RegisterAsmPrinter<NVPTXAsmPrinter> Y(TheNVPTXTarget64);