|
LLVM
4.0.0
|
#include "Mips16ISelLowering.h"#include "MCTargetDesc/MipsBaseInfo.h"#include "Mips16HardFloatInfo.h"#include "MipsMachineFunction.h"#include "MipsRegisterInfo.h"#include "MipsTargetMachine.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/Support/CommandLine.h"#include "llvm/Target/TargetInstrInfo.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "mips-lower" |
| #define | P_ "__mips16_call_stub_" |
| #define | MAX_STUB_NUMBER 10 |
| #define | T1 P "1", P "2", 0, 0, P "5", P "6", 0, 0, P "9", P "10" |
| #define | T P "0" , T1 |
| #define | P P_ |
| #define | P P_ "sf_" |
| #define | P P_ "df_" |
| #define | P P_ "sc_" |
| #define | P P_ "dc_" |
Functions | |
| static unsigned | Mips16WhichOp8uOr16simm (unsigned shortOp, unsigned longOp, int64_t Imm) |
Variables | |
| static cl::opt< bool > | DontExpandCondPseudos16 ("mips16-dont-expand-cond-pseudo", cl::init(false), cl::desc("Don't expand conditional move related ""pseudos for Mips 16"), cl::Hidden) |
| static const Mips16Libcall | HardFloatLibCalls [] |
| static const Mips16IntrinsicHelperType | Mips16IntrinsicHelper [] |
| static char const * | vMips16Helper [MAX_STUB_NUMBER+1] |
| static char const * | sfMips16Helper [MAX_STUB_NUMBER+1] |
| static char const * | dfMips16Helper [MAX_STUB_NUMBER+1] |
| static char const * | scMips16Helper [MAX_STUB_NUMBER+1] |
| static char const * | dcMips16Helper [MAX_STUB_NUMBER+1] |
| #define DEBUG_TYPE "mips-lower" |
Definition at line 25 of file Mips16ISelLowering.cpp.
| #define MAX_STUB_NUMBER 10 |
Definition at line 346 of file Mips16ISelLowering.cpp.
| #define P P_ |
Definition at line 365 of file Mips16ISelLowering.cpp.
| #define P P_ "sf_" |
Definition at line 365 of file Mips16ISelLowering.cpp.
| #define P P_ "df_" |
Definition at line 365 of file Mips16ISelLowering.cpp.
| #define P P_ "sc_" |
Definition at line 365 of file Mips16ISelLowering.cpp.
| #define P P_ "dc_" |
Definition at line 365 of file Mips16ISelLowering.cpp.
| #define P_ "__mips16_call_stub_" |
Definition at line 345 of file Mips16ISelLowering.cpp.
Definition at line 348 of file Mips16ISelLowering.cpp.
Referenced by llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::add(), llvm::ImutAVLFactory< ImutInfo >::add(), llvm::LLVMTargetMachine::addPassesToEmitFile(), adjustedSumFreq(), llvm::DiagnosticInfoOptimizationBase::Argument::Argument(), llvm::DwarfDebug::beginModule(), BinomialCoefficient(), llvm::APInt::bitsToDouble(), llvm::APInt::bitsToFloat(), llvm::slpvectorizer::BoUpSLP::canMapToVector(), fuzzer::ChangeBinaryInteger(), llvm::rdf::RegisterAggr::clearIn(), llvm::rdf::Liveness::computePhiInfo(), llvm::ConstantFoldBinaryInstruction(), ConvertIntToBytes(), llvm::SmallPtrSetImplBase::CopyFrom(), llvm::ImutAVLFactory< ImutInfo >::createNode(), llvm::CreateX86AsmInstrumentation(), llvm::codeview::serialize_arrayref_tail_impl< T >::deserialize(), llvm::SpecificBumpPtrAllocator< llvm::LazyCallGraph::SCC >::DestroyAll(), detectPopcountIdiom(), llvm::AsmPrinter::doFinalization(), llvm::APInt::doubleToBits(), llvm::PointerUnion< llvm::LLVMContext *, llvm::ReplaceableMetadataImpl * >::dyn_cast(), llvm::PointerUnion3< PT1, PT2, PT3 >::dyn_cast(), llvm::PointerUnion4< PT1, PT2, PT3, PT4 >::dyn_cast(), eatBytes(), llvm::AsmPrinter::EmitFunctionBody(), llvm::AsmPrinter::EmitGlobalVariable(), llvm::Optional< uint64_t >::emplace(), llvm::SmallVectorImpl< std::pair< llvm::RelocationValueRef, llvm::RelocationEntry > >::emplace_back(), llvm::PriorityWorklist< llvm::LazyCallGraph::SCC *, SmallVector< llvm::LazyCallGraph::SCC *, N >, SmallDenseMap< llvm::LazyCallGraph::SCC *, ptrdiff_t > >::erase(), llvm::PriorityWorklist< llvm::LazyCallGraph::SCC *, SmallVector< llvm::LazyCallGraph::SCC *, N >, SmallDenseMap< llvm::LazyCallGraph::SCC *, ptrdiff_t > >::erase_if(), fuzzer::FileToString(), fuzzer::FileToVector(), llvm::sampleprof::FunctionSamples::findCallSamplesAt(), llvm::msf::FixedStreamArray< llvm::codeview::LineNumberEntry >::FixedStreamArray(), llvm::APInt::floatToBits(), llvm::PointerUnion3< PT1, PT2, PT3 >::get(), llvm::PointerUnion4< PT1, PT2, PT3, PT4 >::get(), llvm::ConstantStruct::get(), llvm::Triple::get32BitArchVariant(), llvm::Triple::get64BitArchVariant(), llvm::rdf::Liveness::getAllReachedUses(), llvm::rdf::Liveness::getAllReachingDefs(), llvm::Triple::getBigEndianArchVariant(), llvm::ImutAVLFactory< ImutInfo >::getCanonicalTree(), llvm::pdb::DbiStream::getDebugStreamIndex(), getDefaultPersonalityFn(), llvm::object::ELFFile< ELFT >::getEntry(), llvm::GraphTraits< Type * >::getEntryNode(), llvm::GraphTraits< const Type * >::getEntryNode(), llvm::PointerLikeTypeTraits< PointerEmbeddedInt< IntT, Bits > >::getFromVoidPointer(), llvm::generic_gep_type_iterator< ItTy >::getIndexedType(), llvm::orc::rpc::RPCFunctionIdAllocator< T, typename std::enable_if< std::is_integral< T >::value >::type >::getInvalidId(), llvm::Triple::getLittleEndianArchVariant(), llvm::ImutAVLTree< ImutInfo >::getMaxElement(), llvm::orc::rpc::RPCFunctionIdAllocator< T, typename std::enable_if< std::is_integral< T >::value >::type >::getNegotiateId(), llvm::orc::rpc::RPCFunctionIdAllocator< T, typename std::enable_if< std::is_integral< T >::value >::type >::getResponseId(), getStruct(), getStructOrErr(), getTypeString(), llvm::PackedVectorBase< T, BitNum, BitVectorTy, false >::getValue(), llvm::PackedVectorBase< T, BitNum, BitVectorTy, true >::getValue(), llvm::yaml::Node::getVerbatimTag(), llvm::APIntOps::GreatestCommonDivisor(), llvm::GreatestCommonDivisor64(), indexReallyValid(), llvm::PriorityWorklist< llvm::LazyCallGraph::SCC *, SmallVector< llvm::LazyCallGraph::SCC *, N >, SmallDenseMap< llvm::LazyCallGraph::SCC *, ptrdiff_t > >::insert(), llvm::SmallVectorImpl< std::pair< llvm::RelocationValueRef, llvm::RelocationEntry > >::insert(), insertSinCosCall(), llvm::PointerUnion< llvm::LLVMContext *, llvm::ReplaceableMetadataImpl * >::is(), llvm::PointerUnion3< PT1, PT2, PT3 >::is(), llvm::PointerUnion4< PT1, PT2, PT3, PT4 >::is(), llvm::ImutAVLFactory< ImutInfo >::isEmpty(), llvm::MCAsmLexer::Lex(), LLVMFuzzerTestOneInput(), LLVMOrcCreateInstance(), llvm::xray::loadTraceFile(), llvm::TargetRegistry::lookupTarget(), LowerCMP_SWAP(), llvm::HexagonTargetLowering::LowerConstantPool(), llvm::PatternMatch::m_Br(), llvm::make_unique(), llvm::SmallVectorTemplateCommon< std::pair< llvm::RelocationValueRef, llvm::RelocationEntry > >::max_size(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::Iterator::operator++(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::ConstIterator::operator++(), llvm::Module::debug_compile_units_iterator::operator++(), llvm::DIExpression::expr_op_iterator::operator++(), llvm::Optional< uint64_t >::operator=(), llvm::msf::FixedStreamArray< llvm::codeview::LineNumberEntry >::operator[](), llvm::Optional< uint64_t >::Optional(), parseBitField(), parseField(), llvm::parseIR(), llvm::MCAsmParser::parseOptionalToken(), llvm::PriorityWorklist< llvm::LazyCallGraph::SCC *, SmallVector< llvm::LazyCallGraph::SCC *, N >, SmallDenseMap< llvm::LazyCallGraph::SCC *, ptrdiff_t > >::pop_back(), llvm::TargetRegistry::printRegisteredTargetsForVersion(), llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), llvm::msf::StreamReader::readArray(), reduceToSingleValueType(), llvm::TargetRegistry::RegisterTarget(), llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::remove(), llvm::ImutAVLFactory< ImutInfo >::remove(), llvm::ImutAVLFactory< ImutInfo >::remove_internal(), removeConstantFactors(), llvm::ImutAVLFactory< ImutInfo >::removeMinBinding(), llvm::rdf::Liveness::resetLiveIns(), llvm::SmallVectorImpl< std::pair< llvm::RelocationValueRef, llvm::RelocationEntry > >::resize(), llvm::APIntOps::RoundDoubleToAPInt(), llvm::APInt::roundToDouble(), llvm::rdf::NodeAttrs::set_type(), llvm::setCurrentDebugTypes(), llvm::MachineFrameInfo::setFrameAddressIsTaken(), llvm::Module::setTargetTriple(), llvm::PMDataManager::setTopLevelManager(), llvm::GVNExpression::BasicExpression::setType(), llvm::PackedVectorBase< T, BitNum, BitVectorTy, false >::setValue(), llvm::PackedVectorBase< T, BitNum, BitVectorTy, true >::setValue(), SinkThenElseCodeToEnd(), llvm::msf::FixedStreamArray< llvm::codeview::LineNumberEntry >::size(), llvm::SizeForSuffix(), llvm::HexagonBlockRanges::RangeList::subtract(), TestEraseBytes(), llvm::rdf::Liveness::trace(), llvm::visitAll(), llvm::InstCombiner::visitFDiv(), llvm::msf::StreamWriter::writeArray(), llvm::zip(), and llvm::zip_first().
Definition at line 347 of file Mips16ISelLowering.cpp.
Referenced by CombineSymbolTypes(), llvm::MipsRegisterInfo::getReservedRegs(), llvm::Mips16InstrInfo::loadImmediate(), nextReg(), and triplesMatch().
Definition at line 756 of file Mips16ISelLowering.cpp.
References llvm::isInt< 16 >(), llvm::isUInt< 8 >(), and llvm_unreachable.
|
static |
Definition at line 366 of file Mips16ISelLowering.cpp.
|
static |
Definition at line 358 of file Mips16ISelLowering.cpp.
|
static |
|
static |
Definition at line 58 of file Mips16ISelLowering.cpp.
|
static |
Definition at line 95 of file Mips16ISelLowering.cpp.
|
static |
Definition at line 362 of file Mips16ISelLowering.cpp.
|
static |
Definition at line 354 of file Mips16ISelLowering.cpp.
|
static |
Definition at line 350 of file Mips16ISelLowering.cpp.
1.8.6