|
LLVM
5.0.0
|
Enumerations | |
| enum | Fixups { fixup_code_sleb128_i32 = FirstTargetFixupKind, fixup_code_sleb128_i64, fixup_code_uleb128_i32, fixup_code_global_index, LastTargetFixupKind, NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind } |
| enum | OperandType { OPERAND_BASIC_BLOCK = MCOI::OPERAND_FIRST_TARGET, OPERAND_LOCAL, OPERAND_GLOBAL, OPERAND_I32IMM, OPERAND_I64IMM, OPERAND_F32IMM, OPERAND_F64IMM, OPERAND_FUNCTION32, OPERAND_OFFSET32, OPERAND_P2ALIGN, OPERAND_SIGNATURE, OPERAND_TYPEINDEX } |
| enum | ExprType { ExprType::Void = -0x40, ExprType::I32 = -0x01, ExprType::I64 = -0x02, ExprType::F32 = -0x03, ExprType::F64 = -0x04, ExprType::I8x16 = -0x05, ExprType::I16x8 = -0x06, ExprType::I32x4 = -0x07, ExprType::F32x4 = -0x08, ExprType::B8x16 = -0x09, ExprType::B16x8 = -0x0a, ExprType::B32x4 = -0x0b } |
| This is used to indicate block signatures. More... | |
Functions | |
| const char * | TypeToString (MVT Ty) |
| const char * | TypeToString (wasm::ValType Type) |
| unsigned | GetDefaultP2Align (unsigned Opcode) |
| Return the default p2align value for a load or store with the given opcode. More... | |
| wasm::ValType | toValType (const MVT &Ty) |
| FastISel * | createFastISel (FunctionLoweringInfo &funcInfo, const TargetLibraryInfo *libInfo) |
| bool | isArgument (const MachineInstr &MI) |
| bool | isCopy (const MachineInstr &MI) |
| bool | isTee (const MachineInstr &MI) |
| bool | isChild (const MachineInstr &MI, const WebAssemblyFunctionInfo &MFI) |
| Test whether MI is a child of some other node in an expression tree. More... | |
| bool | isCallIndirect (const MachineInstr &MI) |
Variables | |
| static const unsigned | LoadAddressOperandNo = 3 |
| The operand number of the load or store address in load/store instructions. More... | |
| static const unsigned | StoreAddressOperandNo = 2 |
| static const unsigned | LoadP2AlignOperandNo = 1 |
| The operand number of the load or store p2align in load/store instructions. More... | |
| static const unsigned | StoreP2AlignOperandNo = 0 |
| static const unsigned | Nop = 0x01 |
| Instruction opcodes emitted via means other than CodeGen. More... | |
| static const unsigned | End = 0x0b |
|
strong |
This is used to indicate block signatures.
| Enumerator | |
|---|---|
| Void | |
| I32 | |
| I64 | |
| F32 | |
| F64 | |
| I8x16 | |
| I16x8 | |
| I32x4 | |
| F32x4 | |
| B8x16 | |
| B16x8 | |
| B32x4 | |
Definition at line 151 of file WebAssemblyMCTargetDesc.h.
| Enumerator | |
|---|---|
| fixup_code_sleb128_i32 | |
| fixup_code_sleb128_i64 | |
| fixup_code_uleb128_i32 | |
| fixup_code_global_index | |
| LastTargetFixupKind | |
| NumTargetFixupKinds | |
Definition at line 17 of file WebAssemblyFixupKinds.h.
Definition at line 49 of file WebAssemblyMCTargetDesc.h.
| FastISel * llvm::WebAssembly::createFastISel | ( | FunctionLoweringInfo & | funcInfo, |
| const TargetLibraryInfo * | libInfo | ||
| ) |
Definition at line 1294 of file WebAssemblyFastISel.cpp.
Return the default p2align value for a load or store with the given opcode.
Definition at line 108 of file WebAssemblyMCTargetDesc.h.
References llvm_unreachable().
Referenced by llvm::WebAssemblyInstPrinter::printWebAssemblyP2AlignOperand(), and RewriteP2Align().
| bool llvm::WebAssembly::isArgument | ( | const MachineInstr & | MI | ) |
Definition at line 21 of file WebAssemblyUtilities.cpp.
References llvm::MachineInstr::getOpcode().
Referenced by llvm::WebAssemblyFrameLowering::emitPrologue(), and HasArgumentDef().
| bool llvm::WebAssembly::isCallIndirect | ( | const MachineInstr & | MI | ) |
Definition at line 74 of file WebAssemblyUtilities.cpp.
References llvm::MachineInstr::getOpcode().
Referenced by llvm::WebAssemblyMCInstLower::Lower().
| bool llvm::WebAssembly::isChild | ( | const MachineInstr & | MI, |
| const WebAssemblyFunctionInfo & | MFI | ||
| ) |
Test whether MI is a child of some other node in an expression tree.
Definition at line 62 of file WebAssemblyUtilities.cpp.
References llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isDef(), llvm::MachineOperand::isImplicit(), llvm::MachineOperand::isReg(), llvm::TargetRegisterInfo::isVirtualRegister(), and llvm::WebAssemblyFunctionInfo::isVRegStackified().
Referenced by PlaceBlockMarker().
| bool llvm::WebAssembly::isCopy | ( | const MachineInstr & | MI | ) |
Definition at line 37 of file WebAssemblyUtilities.cpp.
References llvm::MachineInstr::getOpcode().
| bool llvm::WebAssembly::isTee | ( | const MachineInstr & | MI | ) |
Definition at line 49 of file WebAssemblyUtilities.cpp.
References llvm::MachineInstr::getOpcode().
| wasm::ValType llvm::WebAssembly::toValType | ( | const MVT & | Ty | ) |
Definition at line 144 of file WebAssemblyMCTargetDesc.cpp.
References llvm::MVT::f32, llvm::wasm::F32, llvm::MVT::f64, llvm::wasm::F64, llvm::MVT::i32, llvm::wasm::I32, llvm::MVT::i64, llvm::wasm::I64, llvm_unreachable(), and llvm::MVT::SimpleTy.
Referenced by llvm::WebAssemblyTargetWasmStreamer::emitIndirectFunctionType(), llvm::WebAssemblyTargetELFStreamer::emitLocal(), llvm::WebAssemblyTargetWasmStreamer::emitLocal(), llvm::WebAssemblyTargetWasmStreamer::emitParam(), and llvm::WebAssemblyTargetWasmStreamer::emitResult().
Definition at line 226 of file WebAssemblyInstPrinter.cpp.
References llvm::MVT::f32, llvm::MVT::f64, llvm::MVT::i32, llvm::MVT::i64, llvm_unreachable(), llvm::MVT::SimpleTy, llvm::MVT::v16i8, llvm::MVT::v4f32, llvm::MVT::v4i32, and llvm::MVT::v8i16.
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitGlobal(), llvm::WebAssemblyTargetAsmStreamer::emitIndirectFunctionType(), and PrintTypes().
| const char * llvm::WebAssembly::TypeToString | ( | wasm::ValType | Type | ) |
Definition at line 246 of file WebAssemblyInstPrinter.cpp.
References llvm::wasm::F32, llvm::wasm::F64, llvm::wasm::I32, llvm::wasm::I64, and llvm_unreachable().
Definition at line 168 of file WebAssemblyMCTargetDesc.h.
Referenced by llvm::RuntimePointerChecking::CheckingPtrGroup::addPointer(), llvm::User::allocHungoffUses(), llvm::yaml::BlockScalarNode::BlockScalarNode(), BuildVectorFromScalar(), llvm::calculateClrEHStateNumbers(), llvm::pdb::ClassLayout::ClassLayout(), CloneNodeWithValues(), llvm::codeview::DebugStringTableSubsection::commit(), llvm::ProfileSummaryBuilder::computeDetailedSummary(), llvm::pdb::LayoutItemBase::containsOffset(), llvm::SystemZInstrInfo::convertToThreeAddress(), llvm::convertWideToUTF8(), llvm::AArch64InstrInfo::copyPhysRegTuple(), decodeUTF8(), llvm::SpecificBumpPtrAllocator< llvm::LazyCallGraph::SCC >::DestroyAll(), llvm::DominatorTree::dominates(), llvm::OnDiskChainedHashTableGenerator< Info >::Emit(), llvm::WebAssemblyTargetELFStreamer::emitEndFunc(), EmitGenDwarfInfo(), llvm::AArch64FrameLowering::emitPrologue(), llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemchr(), llvm::SplitEditor::enterIntvAtEnd(), llvm::GCNIterativeScheduler::enterRegion(), expandBounds(), llvm::MachineFunction::extractLoadMemRefs(), llvm::MachineFunction::extractStoreMemRefs(), llvm::SIScheduleDAGMI::fillVgprSgprCost(), llvm::SchedDFSImpl::finalize(), findCFILocation(), fitsRegularPattern(), llvm::parallel::for_each_n(), fuzzer::ForEachNonZeroByte(), llvm::format_provider< llvm::iterator_range< IterT > >::format(), generateUnsignedDivisionCode(), llvm::DWARFDebugAbbrev::getAbbreviationDeclarationSet(), llvm::MachineLoop::getBottomBlock(), getBoundedStrlen(), llvm::BasicBlockEdge::getEnd(), llvm::Loop::LocRange::getEnd(), llvm::MCDwarfLineTableHeader::getFile(), llvm::DIExpression::getFragmentInfo(), llvm::CodeViewContext::getFunctionLineEntries(), llvm::SystemZTTIImpl::getIntImmCost(), llvm::TargetLibraryInfoImpl::getLibFunc(), llvm::object::ArchiveMemberHeader::getName(), llvm::OperandBundleUser< InvokeInst, User::op_iterator >::getNumTotalBundleOperands(), llvm::RegisterBankInfo::getOperandsMapping(), llvm::GCNIterativeScheduler::getRegionPressure(), llvm::getToken(), llvm::Use::getUser(), llvm::RegisterBankInfo::OperandsMapper::getVRegs(), INITIALIZE_PASS(), llvm::StringSet< AllocatorTy >::insert(), llvm::SetVector< llvm::BasicBlock * >::insert(), llvm::object::ExportDirectoryEntryRef::isForwarder(), llvm::LiveRange::isUndefIn(), llvm::detail::join_impl(), llvm::object::Lexer::lex(), lowerVECTOR_SHUFFLE_ILVEV(), lowerVECTOR_SHUFFLE_ILVL(), lowerVECTOR_SHUFFLE_ILVOD(), lowerVECTOR_SHUFFLE_ILVR(), lowerVECTOR_SHUFFLE_PCKEV(), lowerVECTOR_SHUFFLE_PCKOD(), markIndicesSafe(), MaybeRewriteToFallthrough(), llvm::object::COFFObjectFile::moveSymbolNext(), multikey_qsort(), nextIfDebug(), llvm::BranchProbability::normalizeProbabilities(), llvm::Loop::LocRange::operator bool(), llvm::MCSymbol::operator new(), llvm::parallel::detail::parallel_for_each_n(), llvm::object::WindowsResourceParser::parse(), llvm::opt::OptTable::ParseArgs(), llvm::opt::OptTable::ParseOneArg(), llvm::LLParser::parseTypeAtBeginning(), PlaceBlockMarker(), PlaceLoopMarker(), preassignSwiftErrorRegs(), llvm::RegisterBank::print(), printLivenessInfo(), printRegion(), llvm::programUndefinedIfFullPoison(), rangeOnlyContains(), false::Chain::rangeOverlapsWith(), readCoverageMappingData(), llvm::InstrProfLookupTrait::ReadData(), llvm::GCOVFunction::readGCDA(), llvm::RegisterBankInfo::RegisterBankInfo(), llvm::RuntimeDyldMachOCRTPBase< Impl >::registerEHFrames(), llvm::LiveRange::removeSegment(), llvm::SlotIndexes::repairIndexesInRange(), llvm::RegBankSelect::RepairingPlacement::RepairingPlacement(), replaceFallthroughCoroEnd(), llvm::R600InstrInfo::reserveIndirectRegisters(), llvm::RegBankSelect::runOnMachineFunction(), llvm::yaml::ScalarNode::ScalarNode(), llvm::yaml::Output::scalarString(), scan(), scanInlinedCode(), llvm::yaml::Scanner::setError(), shouldSpeculateInstrs(), shouldUseMmap(), simplifyX86extrq(), simplifyX86insertq(), llvm::simple_ilist< T, Options >::sort(), llvm::stripDebugInfo(), llvm::detail::to_float(), tryBuildVectorReplicate(), tryToreplicateChunks(), UpdatePosition(), llvm::RegisterBank::verify(), and llvm::MachObjectWriter::writeObject().
The operand number of the load or store address in load/store instructions.
Definition at line 143 of file WebAssemblyMCTargetDesc.h.
Referenced by llvm::WebAssemblyRegisterInfo::eliminateFrameIndex().
The operand number of the load or store p2align in load/store instructions.
Definition at line 147 of file WebAssemblyMCTargetDesc.h.
Instruction opcodes emitted via means other than CodeGen.
Definition at line 167 of file WebAssemblyMCTargetDesc.h.
Referenced by llvm::HexagonMCInstrInfo::padEndloop().
Definition at line 144 of file WebAssemblyMCTargetDesc.h.
Referenced by llvm::WebAssemblyRegisterInfo::eliminateFrameIndex().
Definition at line 148 of file WebAssemblyMCTargetDesc.h.
1.8.6