Displaying 4 results from an estimated 4 matches for "computeavailablefeatur".
Did you mean:
computeavailablefeatures
2015 Aug 20
2
Problem Compiling AsmParser
...smParser.cpp.o): In function
`TestAsmParser':
/llvm/lib/Target/Test/AsmParser/TestAsmParser.cpp:96: *undefined reference
to `vtable for (anonymous namespace)::TestAsmParser'*
/llvm/lib/Target/Test/AsmParser/TestAsmParser.cpp:99: *undefined reference
to `(anonymous namespace)::TestAsmParser::ComputeAvailableFeatures(unsigned
long) const'*
collect2: error: ld returned 1 exit status
----------------
and here is the code that it refers to:
TestAsmParser(MCSubtargetInfo &sti, MCAsmParser &parser,
const MCInstrInfo &MII, const MCTargetOptions &Options)
: MCTargetAsmPars...
2013 Feb 05
2
[LLVMdev] AsmParser for backend
...t hasn't the red part as below. I find the Mips has this. Do you know how to make it appear?
Jonathan
#ifdef GET_ASSEMBLER_HEADER
#undef GET_ASSEMBLER_HEADER
// This should be included into the middle of the declaration of
// your subclasses implementation of MCTargetAsmParser.
unsigned ComputeAvailableFeatures(uint64_t FeatureBits) const;
void convertToMCInst(unsigned Kind, MCInst &Inst, unsigned Opcode,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands);
void convertToMapAndConstraints(unsigned Kind,
const SmallVectorImpl<MCPars...
2013 Feb 05
0
[LLVMdev] AsmParser for backend
...find the Mips has this. Do you know how to make it appear?
>
> Jonathan
>
> #ifdef GET_ASSEMBLER_HEADER
> #undef GET_ASSEMBLER_HEADER
> // This should be included into the middle of the declaration of
> // your subclasses implementation of MCTargetAsmParser.
> unsigned ComputeAvailableFeatures(uint64_t FeatureBits) const;
> void convertToMCInst(unsigned Kind, MCInst &Inst, unsigned Opcode,
> const SmallVectorImpl<MCParsedAsmOperand*>
&Operands);
> void convertToMapAndConstraints(unsigned Kind,
> const
>...
2016 Sep 11
2
[Target] AsmParser Error : key functions missing
...I wrote a very crude and simple AsmParser for my backend. llvm-tablegen
also generates asm-matcher .inc file without any error. I have included the
.inc file in my class for AsmParser.
However, while building llvm, in linking stage for LTO, i am getting error
- undefined reference to functions - ComputeAvailableFeatures,
MatchInstructionImpl, MatchRegisterName and convertToMapAndConstraints.
I see these functions declared and defined in GenAsmMatcher.inc file which
i have included in my AsmParser class. Still i am getting the error. I may
be missing something very basic.
Can someone please help in resolving t...