36 return ConstantPools->addEntry(
Streamer, Expr, 4, Loc);
40 ConstantPools->emitForCurrentSection(
Streamer);
41 ConstantPools->clearCacheForCurrentSection(
Streamer);
85 if (STI.
getCPU() ==
"xscale")
92 }
else if (STI.
hasFeature(ARM::HasV8MMainlineOps))
100 else if (STI.
hasFeature(ARM::HasV8MBaselineOps))
118 return (STI.
hasFeature(ARM::HasV8MBaselineOps) &&
148 }
else if (STI.
hasFeature(ARM::FeatureRClass)) {
151 }
else if (STI.
hasFeature(ARM::FeatureMClass)) {
163 }
else if (STI.
hasFeature(ARM::FeatureThumb2)) {
175 emitFPU(ARM::FK_CRYPTO_NEON_FP_ARMV8);
177 emitFPU(ARM::FK_NEON_FP_ARMV8);
194 ? (STI.
hasFeature(ARM::FeatureVFPOnlySP) ? ARM::FK_FPV5_SP_D16
199 ? (STI.
hasFeature(ARM::FeatureVFPOnlySP) ? ARM::FK_FPV4_SP_D16
207 ? (STI.
hasFeature(ARM::FeatureFP16) ? ARM::FK_VFPV3XD_FP16
210 ? ARM::FK_VFPV3_D16_FP16
211 : ARM::FK_VFPV3_D16))
213 : (STI.
hasFeature(ARM::FeatureFP16) ? ARM::FK_VFPV3_FP16
253 else if (STI.
hasFeature(ARM::FeatureTrustZone))
255 else if (STI.
hasFeature(ARM::FeatureVirtualization))
virtual void emitInst(uint32_t Inst, char Suffix= '\0')
virtual void AnnotateTLSDescriptorSequence(const MCSymbolRefExpr *SRE)
virtual void emitFPU(unsigned FPU)
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
virtual void emitArchExtension(unsigned ArchExt)
Target specific streamer interface.
virtual void emitPad(int64_t Offset)
virtual void finishAttributeSection()
virtual void emitPersonality(const MCSymbol *Personality)
virtual void reset()
Reset any state between object emissions, i.e.
virtual void emitPersonalityIndex(unsigned Index)
void emitCurrentConstantPool()
Callback used to implemnt the .ltorg directive.
Base class for the full range of assembler expressions which are needed for parsing.
StringRef getCPU() const
getCPU - Return the CPU string.
Reg
All possible values of the reg field in the ModR/M byte.
Represent a reference to a symbol from inside an expression.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool startswith(StringRef Prefix) const
Check if this string starts with the given Prefix.
virtual void emitMovSP(unsigned Reg, int64_t Offset=0)
static bool isV8M(const MCSubtargetInfo &STI)
virtual void emitCantUnwind()
ARMTargetStreamer(MCStreamer &S)
virtual void emitAttribute(unsigned Attribute, unsigned Value)
Streaming machine code generation interface.
virtual void emitRegSave(const SmallVectorImpl< unsigned > &RegList, bool isVector)
virtual void emitThumbSet(MCSymbol *Symbol, const MCExpr *Value)
virtual void emitSetFP(unsigned FpReg, unsigned SpReg, int64_t Offset=0)
virtual void emitObjectArch(unsigned Arch)
virtual void emitUnwindRaw(int64_t StackOffset, const SmallVectorImpl< uint8_t > &Opcodes)
~ARMTargetStreamer() override
virtual void emitFnStart()
static ARMBuildAttrs::CPUArch getArchForCPU(const MCSubtargetInfo &STI)
bool isVector(MCInstrInfo const &MCII, MCInst const &MCI)
void emitTargetAttributes(const MCSubtargetInfo &STI)
Emit the build attributes that only depend on the hardware that we expect.
const MCExpr * addConstantPoolEntry(const MCExpr *, SMLoc Loc)
Callback used to implement the ldr= pseudo.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool empty() const
empty - Check if the string is empty.
virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, StringRef StringValue="")
MCSubtargetInfo - Generic base class for all target subtargets.
bool hasFeature(unsigned Feature) const
virtual void emitHandlerData()
LLVM Value Representation.
StringRef - Represent a constant reference to a string, i.e.
virtual void emitArch(unsigned Arch)
Represents a location in source code.
virtual void switchVendor(StringRef Vendor)
virtual void emitTextAttribute(unsigned Attribute, StringRef String)