LLVM  6.0.0svn
Functions
WebAssemblyMCInstLower.cpp File Reference

This file contains code to lower WebAssembly MachineInstrs to their corresponding MCInst records. More...

#include "WebAssemblyMCInstLower.h"
#include "WebAssemblyAsmPrinter.h"
#include "WebAssemblyMachineFunctionInfo.h"
#include "WebAssemblyRuntimeLibcallSignatures.h"
#include "WebAssemblyUtilities.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/IR/Constants.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCSymbolWasm.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for WebAssemblyMCInstLower.cpp:

Go to the source code of this file.

Functions

static wasm::ValType getType (const TargetRegisterClass *RC)
 

Detailed Description

This file contains code to lower WebAssembly MachineInstrs to their corresponding MCInst records.

Definition in file WebAssemblyMCInstLower.cpp.

Function Documentation

◆ getType()

static wasm::ValType getType ( const TargetRegisterClass RC)
static

Definition at line 129 of file WebAssemblyMCInstLower.cpp.

References llvm::wasm::F32, llvm::wasm::F64, llvm::wasm::I32, llvm::wasm::I64, and llvm_unreachable.

Referenced by allSameType(), llvm::object::BaseRelocRef::BaseRelocRef(), branchMaxOffsets(), llvm::UnOpInit::clone(), llvm::BinOpInit::clone(), llvm::TernOpInit::clone(), cloneConstantExprWithNewAddressSpace(), computeUnsignedMinMaxValuesFromKnownBits(), concatSubVector(), llvm::ConstantFoldGetElementPtr(), llvm::ConstantFoldLoadFromConstPtr(), llvm::TypedInit::convertInitializerBitRange(), llvm::TypedInit::convertInitializerTo(), llvm::ListInit::convertInitializerTo(), llvm::TypedInit::convertInitListSlice(), llvm::ListInit::convertInitListSlice(), llvm::createSeparateConstOffsetFromGEPPass(), DoInitialMatch(), llvm::GVNExpression::Expression::dump(), encodeBase64StringEntry(), llvm::GVNExpression::BasicExpression::equals(), findRetainForStoreStrongContraction(), llvm::UnOpInit::Fold(), llvm::TernOpInit::Fold(), FunctionNumber(), llvm::InlineAsm::get(), GetAEABIUnwindPersonalityName(), llvm::UnOpInit::getAsString(), llvm::object::COFFSymbolRef::getBaseType(), llvm::OpInit::getBit(), llvm::VarInit::getBit(), llvm::VarListElementInit::getBit(), llvm::FieldInit::getBit(), llvm::object::COFFSymbolRef::getComplexType(), llvm::VarInit::getFieldInit(), llvm::TypedInit::getFieldType(), llvm::VarInit::getFieldType(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getIntrinsicInstrCost(), llvm::MachineConstantPoolEntry::getSectionKind(), llvm::ConstantPoolSDNode::getTargetFlags(), group2Shuffle(), hasValueBeenRAUWed(), instrumentMaskedLoadOrStore(), llvm::object::MachOObjectFile::is64Bit(), llvm::object::Elf_Sym_Impl< ELFT >::isCommon(), llvm::HexagonMCInstrInfo::isCompound(), llvm::rdf::RefNode::isDef(), isReInterleaveMask(), llvm::rdf::RefNode::isUse(), llvm::HexagonMCInstrInfo::isVector(), LLVMTypeOf(), llvm::WebAssemblyMCInstLower::Lower(), llvm::fuzzerop::matchFirstType(), matchScalarInAggregate(), llvm::fuzzerop::matchScalarOfFirstType(), PerformHeapAllocSRoA(), llvm::ListInit::Profile(), llvm::UnOpInit::Profile(), llvm::BinOpInit::Profile(), llvm::TernOpInit::Profile(), propagateMetadata(), readWideAPInt(), llvm::ListInit::resolveReferences(), llvm::UnOpInit::resolveReferences(), llvm::BinOpInit::resolveReferences(), llvm::TernOpInit::resolveReferences(), llvm::object::Elf_Sym_Impl< ELFT >::setBinding(), llvm::ELF::Elf32_Sym::setBinding(), llvm::ELF::Elf64_Sym::setBinding(), llvm::object::Elf_Rel_Impl< ELFType< TargetEndianness, false >, false >::setSymbol(), llvm::object::Elf_Rel_Impl< ELFType< TargetEndianness, true >, false >::setSymbol(), llvm::ELF::Elf32_Rel::setSymbol(), llvm::ELF::Elf32_Rela::setSymbol(), llvm::ELF::Elf64_Rel::setSymbol(), llvm::ELF::Elf64_Rela::setSymbol(), llvm::RecordVal::setValue(), llvm::ARMAsmBackend::shouldForceRelocation(), SimplifyGEPInst(), splitGlobal(), tryUnmergingGEPsAcrossIndirectBr(), validExtractValueIndex(), llvm::InstCombiner::visitLandingPadInst(), llvm::InstCombiner::visitLShr(), and llvm::MetadataAsValue::~MetadataAsValue().