Displaying 4 results from an estimated 4 matches for "featurebit".
Did you mean:
featurebits
2013 Feb 05
2
[LLVMdev] AsmParser for backend
.... 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<MCParsedAsmOperand*> &...
2017 Aug 23
2
Subtarget Initialization in <ARCH>TargetMachine constructor
...> accesses an MCSubtargetInfo rather than a subclass of Subtarget.
The following is what I observed:
Both Subtarget constructor and initAsmInfo will eventually create
a MCSubtargetInfo, which calls InitMCProcessorInfo.
void MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef FS) {
FeatureBits = getFeatures(CPU, FS, ProcDesc, ProcFeatures);
if (!CPU.empty())
CPUSchedModel = &getSchedModelForCPU(CPU);
else
CPUSchedModel = &MCSchedModel::GetDefaultSchedModel();
}
If you have -mcpu=help in your command line
llc -march=<> -mcpu=help ...
The help information will...
2013 Feb 05
0
[LLVMdev] AsmParser for backend
...w 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<MCP...
2017 Aug 22
2
Subtarget Initialization in <ARCH>TargetMachine constructor
Hi,
I found some different discrepancy on how Subtarget is created
between some arch specific TargetMachine constructor.
For example, for BPF/Lanai:
BPFTargetMachine::BPFTargetMachine(const Target &T, const Triple &TT,
StringRef CPU, StringRef FS,
const TargetOptions &Options,