Displaying 8 results from an estimated 8 matches for "mctargetstream".
Did you mean:
mctargetstreamer
2013 Oct 08
0
[LLVMdev] The new MCTargetStreamer interface
...the need to handle assembly and object emission.
I have moved directives for PPC, Mips and ARM over to the new
interface. If you think I forgot some, need to add more or maintain an
out of tree target, this is what you need to do for a Foo target:
Implement 3 classes:
* FooTargetStreamer : public MCTargetStreamer
* FooTargetAsmSreamer : public FooTargetStreamer
* FooTargetELFStreamer : public FooTargetStreamer
FooTargetStreamer should have a pure virtual method for each directive. For
example, for a ".bar symbol_name" directive, it should have
virtual emitBar(const MCSymbol &Symbol) = 0;
T...
2014 Mar 10
2
[LLVMdev] A bug or a feature?
Hi,
I've run Clang Static Analyzer checker alpha.cplusplus.NewDeleteLeaks
over LLVM codebase to detect false-positives and at the same time
eliminate memory leaks. The majority of leaks were detected in
lib/Target/* and lib/MC/*. In all cases the similar trick was detected
as a leak (example from
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp) :
static MCStreamer
2015 Jan 27
2
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
...ption to TargetOptions struct that provides access to abi string. This info is stored in MCSubtarget class(ARMSubratget in this case) and distributed to other libraries. Unfortunately, for Mips we need this info in other classes that don't have access to MCSubtarget class, like MCAsmBackend and MCTargetStreamer and instantiating a new copy od TargetOption causes link errors as it is already instantiated in some drivers(llc.cpp for example). What would be the proper way to get the TargetOptions struct available in other classes?
Kind regards,
Vladimir
-------------- next part --------------
An HTML at...
2016 Jan 22
2
Is there a reason why MCAsmStreamer class doesn't have its own .h file?
Hi Craig and Rail,
At Movidius, we have had to make a few changes to ‘MCAsmStreamer’ to support our assembler which is not ‘gas’ compliant.
Earlier versions of LLVM (3.1 and 3.2) did have a separate header for ‘MCAsmStreamer’, and we had previously sub-classed this.
The following are modifications that we have had to make because although ‘MCAsmStreamer’ does most of what we need,
2015 Jan 28
3
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
...ption to TargetOptions struct that provides access to abi string. This info is stored in MCSubtarget class(ARMSubratget in this case) and distributed to other libraries. Unfortunately, for Mips we need this info in other classes that don't have access to MCSubtarget class, like MCAsmBackend and MCTargetStreamer and instantiating a new copy od TargetOption causes link errors as it is already instantiated in some drivers(llc.cpp for example). What would be the proper way to get the TargetOptions struct available in other classes?
Kind regards,
Vladimir
_______________________________________________
LL...
2015 Jan 29
0
[LLVMdev] [Mips][TargetOptions] How to properly instantiate TargetOptions in MC layer?
...ption to TargetOptions struct that provides access to abi string. This info is stored in MCSubtarget class(ARMSubratget in this case) and distributed to other libraries. Unfortunately, for Mips we need this info in other classes that don't have access to MCSubtarget class, like MCAsmBackend and MCTargetStreamer and instantiating a new copy od TargetOption causes link errors as it is already instantiated in some drivers(llc.cpp for example). What would be the proper way to get the TargetOptions struct available in other classes?
Kind regards,
Vladimir
_______________________________________________
LL...
2016 Jan 21
4
Is there a reason why MCAsmStreamer class doesn't have its own .h file?
Does anybody know if there is a particular reason why MCAsmStreamer doesn't
have its own .h file?
https://github.com/llvm-mirror/llvm/blob/0e66a5f53c74056f95d178c86531d7d9cfb23da9/lib/MC/MCAsmStreamer.cpp#L41
It seems like it is a good idea to have this class declared as its own
module ( its own .cpp and .h files). That would make it easier to inherit
from it if there is a need (like in my
2018 Jun 30
2
Using BuildMI to insert Intel MPX instruction BNDCU failed
...86/X86GenAsmWriter.inc:48204:0
#13 0x0000000002668edc llvm::X86ATTInstPrinter::printInst(llvm::MCInst
const*, llvm::raw_ostream&, llvm::StringRef, llvm::MCSubtargetInfo const&)
/home/shenyouren/workspace/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp:89:0
#14 0x00000000031d5811
llvm::MCTargetStreamer::prettyPrintAsm(llvm::MCInstPrinter&,
llvm::raw_ostream&, llvm::MCInst const&, llvm::MCSubtargetInfo const&)
/home/shenyouren/workspace/llvm/lib/MC/MCStreamer.cpp:856:0
#15 0x00000000031690e2 (anonymous
namespace)::MCAsmStreamer::EmitInstruction(llvm::MCInst const&,
llvm::MCSu...