Lines Matching full:encoding
35 static const char *DecodeDWARFEncoding(unsigned Encoding) { in DecodeDWARFEncoding() argument
36 switch (Encoding) { in DecodeDWARFEncoding()
83 return "<unknown encoding>"; in DecodeDWARFEncoding()
87 /// encoding. If verbose assembly output is enabled, we output comments
88 /// describing the encoding. Desc is an optional string saying what the
89 /// encoding is specifying (e.g. "LSDA").
93 OutStreamer->AddComment(Twine(Desc) + " Encoding = " + in emitEncodingByte()
96 OutStreamer->AddComment(Twine("Encoding = ") + DecodeDWARFEncoding(Val)); in emitEncodingByte()
102 /// GetSizeOfEncodedValue - Return the size of the encoding in bytes.
103 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const { in GetSizeOfEncodedValue()
104 if (Encoding == dwarf::DW_EH_PE_omit) in GetSizeOfEncodedValue()
107 switch (Encoding & 0x07) { in GetSizeOfEncodedValue()
121 void AsmPrinter::emitTTypeReference(const GlobalValue *GV, unsigned Encoding) { in emitTTypeReference() argument
126 TLOF.getTTypeGlobalReference(GV, Encoding, TM, MMI, *OutStreamer); in emitTTypeReference()
127 OutStreamer->emitValue(Exp, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
129 OutStreamer->emitIntValue(0, GetSizeOfEncodedValue(Encoding)); in emitTTypeReference()
186 unsigned Encoding) const { in emitCallSiteOffset()
187 // The least significant 3 bits specify the width of the encoding in emitCallSiteOffset()
188 if ((Encoding & 0x7) == dwarf::DW_EH_PE_uleb128) in emitCallSiteOffset()
191 emitLabelDifference(Hi, Lo, GetSizeOfEncodedValue(Encoding)); in emitCallSiteOffset()
194 void AsmPrinter::emitCallSiteValue(uint64_t Value, unsigned Encoding) const { in emitCallSiteValue()
195 // The least significant 3 bits specify the width of the encoding in emitCallSiteValue()
196 if ((Encoding & 0x7) == dwarf::DW_EH_PE_uleb128) in emitCallSiteValue()
199 OutStreamer->emitIntValue(Value, GetSizeOfEncodedValue(Encoding)); in emitCallSiteValue()