|
LLVM
10.0.0
|
Variables | |
| static const unsigned | Nop = 0x01 |
| Instruction opcodes emitted via means other than CodeGen. More... | |
| static const unsigned | End = 0x0b |
| const char *const | ClangCallTerminateFn = "__clang_call_terminate" |
| const char *const | CxaBeginCatchFn = "__cxa_begin_catch" |
| const char *const | CxaRethrowFn = "__cxa_rethrow" |
| const char *const | StdTerminateFn = "_ZSt9terminatev" |
| const char *const | PersonalityWrapperFn |
|
strong |
Used as immediate MachineOperands for block signatures.
| Enumerator | |
|---|---|
| Invalid | |
| Void | |
| I32 | |
| I64 | |
| F32 | |
| F64 | |
| V128 | |
| Exnref | |
| Multivalue | |
Definition at line 126 of file WebAssemblyMCTargetDesc.h.
| Enumerator | |
|---|---|
| fixup_sleb128_i32 | |
| fixup_sleb128_i64 | |
| fixup_uleb128_i32 | |
| LastTargetFixupKind | |
| NumTargetFixupKinds | |
Definition at line 16 of file WebAssemblyFixupKinds.h.
Definition at line 44 of file WebAssemblyMCTargetDesc.h.
| Enumerator | |
|---|---|
| TI_LOCAL_START | |
| TI_GLOBAL_START | |
| TI_OPERAND_STACK_START | |
Definition at line 83 of file WebAssembly.h.
Definition at line 295 of file WebAssemblyInstPrinter.cpp.
References llvm::wasm::WASM_TYPE_EXNREF, llvm::wasm::WASM_TYPE_F32, llvm::wasm::WASM_TYPE_F64, llvm::wasm::WASM_TYPE_FUNC, llvm::wasm::WASM_TYPE_FUNCREF, llvm::wasm::WASM_TYPE_I32, llvm::wasm::WASM_TYPE_I64, llvm::wasm::WASM_TYPE_NORESULT, and llvm::wasm::WASM_TYPE_V128.
Referenced by parseImmediate(), llvm::WebAssemblyInstPrinter::printWebAssemblySignatureOperand(), and typeToString().
| FastISel * llvm::WebAssembly::createFastISel | ( | FunctionLoweringInfo & | funcInfo, |
| const TargetLibraryInfo * | libInfo | ||
| ) |
Definition at line 1398 of file WebAssemblyFastISel.cpp.
Referenced by llvm::WebAssemblyTargetLowering::WebAssemblyTargetLowering().
| MachineBasicBlock* llvm::WebAssembly::getBottom | ( | const T * | Unit | ) |
Return the "bottom" block of an entity, which can be either a MachineLoop or WebAssemblyException.
This differs from MachineLoop::getBottomBlock in that it works even if the entity is discontiguous.
Definition at line 39 of file WebAssemblyUtilities.h.
References llvm::MachineBasicBlock::getNumber().
Referenced by sortBlocks().
Returns the operand number of a callee, assuming the argument is a call instruction.
Definition at line 512 of file WebAssemblyMCTargetDesc.h.
References llvm_unreachable.
Referenced by mayThrow(), and query().
Definition at line 364 of file WebAssemblyMCTargetDesc.h.
References llvm::AMDGPU::HSAMD::Kernel::Arg::Key::Align, GetDefaultP2AlignAny(), and llvm_unreachable.
Referenced by llvm::WebAssemblyInstPrinter::printWebAssemblyP2AlignOperand(), and rewriteP2Align().
Return the default p2align value for a load or store with the given opcode.
Definition at line 150 of file WebAssemblyMCTargetDesc.h.
Referenced by GetDefaultP2Align().
Referenced by llvm::WebAssemblyRegisterInfo::eliminateFrameIndex(), and rewriteP2Align().
Definition at line 372 of file WebAssemblyMCTargetDesc.h.
Referenced by llvm::WebAssemblyFrameLowering::emitPrologue(), findStartOfTree(), hasArgumentDef(), INITIALIZE_PASS(), and moveAndTeeForMultiUse().
Definition at line 442 of file WebAssemblyMCTargetDesc.h.
Definition at line 476 of file WebAssemblyMCTargetDesc.h.
Referenced by llvm::WebAssemblyMCInstLower::lower(), and mayThrow().
| 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 28 of file WebAssemblyUtilities.cpp.
References llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isDef(), llvm::MachineOperand::isImplicit(), llvm::MachineOperand::isReg(), llvm::Register::isVirtualRegister(), llvm::WebAssemblyFunctionInfo::isVRegStackified(), and Reg.
Definition at line 402 of file WebAssemblyMCTargetDesc.h.
Referenced by findStartOfTree().
Definition at line 573 of file WebAssemblyMCTargetDesc.h.
References llvm::bitc::END_BLOCK, and llvm::AMDGPUISD::LOOP.
Referenced by unstackifyVRegsUsedInSplitBB().
Definition at line 422 of file WebAssemblyMCTargetDesc.h.
Referenced by findStartOfTree().
| bool llvm::WebAssembly::mayThrow | ( | const MachineInstr & | MI | ) |
Definition at line 39 of file WebAssemblyUtilities.cpp.
References assert(), ClangCallTerminateFn, CxaBeginCatchFn, llvm::dyn_cast(), F(), getCalleeOpNo(), llvm::MachineOperand::getGlobal(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getSymbolName(), llvm::MachineInstr::isCall(), isCallIndirect(), llvm::MachineOperand::isGlobal(), llvm::MachineOperand::isSymbol(), Name, PersonalityWrapperFn, and StdTerminateFn.
Referenced by llvm::Instruction::mayHaveSideEffects(), llvm::Instruction::mayReadOrWriteMemory(), and unstackifyVRegsUsedInSplitBB().
| std::string llvm::WebAssembly::signatureToString | ( | const wasm::WasmSignature * | Sig | ) |
Definition at line 333 of file WebAssemblyInstPrinter.cpp.
References llvm::wasm::WasmSignature::Params, llvm::wasm::WasmSignature::Returns, and typeListToString().
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitFunctionType(), llvm::WebAssemblyInstPrinter::printOperand(), and llvm::WebAssemblyInstPrinter::printWebAssemblySignatureOperand().
| wasm::ValType llvm::WebAssembly::toValType | ( | const MVT & | Ty | ) |
Definition at line 133 of file WebAssemblyMCTargetDesc.cpp.
References llvm::MVT::exnref, llvm::wasm::EXNREF, 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, llvm::MVT::SimpleTy, llvm::wasm::V128, llvm::MVT::v16i8, llvm::MVT::v2f64, llvm::MVT::v2i64, llvm::MVT::v4f32, llvm::MVT::v4i32, and llvm::MVT::v8i16.
Referenced by getDepth(), and llvm::valTypesFromMVTs().
| std::string llvm::WebAssembly::typeListToString | ( | ArrayRef< wasm::ValType > | List | ) |
Definition at line 324 of file WebAssemblyInstPrinter.cpp.
References typeToString().
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitEventType(), and signatureToString().
| const char * llvm::WebAssembly::typeToString | ( | wasm::ValType | Ty | ) |
Definition at line 320 of file WebAssemblyInstPrinter.cpp.
References anyTypeToString().
Referenced by llvm::WebAssemblyTargetAsmStreamer::emitGlobalType(), printTypes(), and typeListToString().
Definition at line 20 of file WebAssemblyUtilities.cpp.
Referenced by eraseDeadBBsAndChildren(), and mayThrow().
Definition at line 21 of file WebAssemblyUtilities.cpp.
Referenced by mayThrow().
Definition at line 22 of file WebAssemblyUtilities.cpp.
Definition at line 145 of file WebAssemblyMCTargetDesc.h.
Instruction opcodes emitted via means other than CodeGen.
Definition at line 144 of file WebAssemblyMCTargetDesc.h.
Referenced by llvm::AsmPrinter::emitNops(), and llvm::HexagonMCInstrInfo::padEndloop().
Definition at line 24 of file WebAssemblyUtilities.cpp.
Referenced by mayThrow().
Definition at line 23 of file WebAssemblyUtilities.cpp.
Referenced by mayThrow().
1.8.13