Displaying 2 results from an estimated 2 matches for "setavailablefeatur".
Did you mean:
setavailablefeatures
2015 Aug 20
2
Problem Compiling AsmParser
...----
and here is the code that it refers to:
TestAsmParser(MCSubtargetInfo &sti, MCAsmParser &parser,
const MCInstrInfo &MII, const MCTargetOptions &Options)
: MCTargetAsmParser(), STI(sti), Parser(parser) {
// Initialize the set of available features.
setAvailableFeatures(ComputeAvailableFeatures(STI.getFeatureBits()));
}
Destructors for both TestAsmParser and MCTargetAsmParser class are
available.
I am using CMake.
I added the following lines to AsmParser/CMakeLists.txt (From the Assembler
Guide by Simon Cook from Embecosm Link
<http://www.embecosm.com/a...
2014 Aug 16
4
[LLVMdev] Target Specific Parsing API
Folks,
Following the discussion with Nico and others, I've created PR20683 to
discuss about the implementation of a generic and externalised target
specific parsing API for LLVM, Clang and others.
I have a vague plan involving a generic class (say TargetParser) in
lib/Target that is accessible as an API to any tool that needs target
specific parsing. The idea is then to let targets implement