LLVM  3.7.0
Macros | Functions | Variables
LLParser.cpp File Reference
#include "LLParser.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/AsmParser/SlotMapping.h"
#include "llvm/IR/AutoUpgrade.h"
#include "llvm/IR/CallingConv.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/InlineAsm.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SaveAndRestore.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/Metadata.def"
Include dependency graph for LLParser.cpp:

Go to the source code of this file.

Macros

#define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS)
 
#define DECLARE_FIELD(NAME, TYPE, INIT)   TYPE NAME INIT
 
#define NOP_FIELD(NAME, TYPE, INIT)
 
#define REQUIRE_FIELD(NAME, TYPE, INIT)
 
#define PARSE_MD_FIELD(NAME, TYPE, DEFAULT)
 
#define PARSE_MD_FIELDS()
 
#define GET_OR_DISTINCT(CLASS, ARGS)   (IsDistinct ? CLASS::getDistinct ARGS : CLASS::get ARGS)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
 

Functions

static std::string getTypeString (Type *T)
 
static bool isValidVisibilityForLinkage (unsigned V, unsigned L)
 
if (!EatIfPresent(lltok::kw_thread_local)) return false
 ParseOptionalThreadLocal := /*empty. More...
 
 if (Lex.getKind()==lltok::lparen)
 
if (!EatIfPresent(lltok::kw_addrspace)) return false
 ParseOptionalAddrSpace := /*empty. More...
 
 F (f)
 
 FunctionNumber (functionNumber)
 

Variables

 TLM = GlobalVariable::GeneralDynamicTLSModel
 
return false
 

Macro Definition Documentation

#define DECLARE_FIELD (   NAME,
  TYPE,
  INIT 
)    TYPE NAME INIT
#define GET_OR_DISTINCT (   CLASS,
  ARGS 
)    (IsDistinct ? CLASS::getDistinct ARGS : CLASS::get ARGS)
#define HANDLE_SPECIALIZED_MDNODE_LEAF (   CLASS)
Value:
if (Lex.getStrVal() == #CLASS) \
return Parse##CLASS(N, IsDistinct);
#define N
#define NOP_FIELD (   NAME,
  TYPE,
  INIT 
)
#define PARSE_MD_FIELD (   NAME,
  TYPE,
  DEFAULT 
)
Value:
if (Lex.getStrVal() == #NAME) \
return ParseMDField(#NAME, NAME);
#define PARSE_MD_FIELDS ( )
Value:
do { \
LocTy ClosingLoc; \
if (ParseMDFieldsImpl([&]() -> bool { \
return TokError(Twine("invalid field '") + Lex.getStrVal() + "'"); \
}, ClosingLoc)) \
return true; \
} while (false)
#define DECLARE_FIELD(NAME, TYPE, INIT)
#define REQUIRE_FIELD(NAME, TYPE, INIT)
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79
#define NOP_FIELD(NAME, TYPE, INIT)
* if(!EatIfPresent(lltok::kw_thread_local)) return false
ParseOptionalThreadLocal := /*empty.
#define VISIT_MD_FIELDS(OPTIONAL, REQUIRED)
#define PARSE_MD_FIELD(NAME, TYPE, DEFAULT)
#define REQUIRE_FIELD (   NAME,
  TYPE,
  INIT 
)
Value:
if (!NAME.Seen) \
return Error(ClosingLoc, "missing required field '" #NAME "'");
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
OPTIONAL(line, LineField, ); \
OPTIONAL(column, ColumnField, ); \
REQUIRED(scope, MDField, (/* AllowNull */ false)); \
OPTIONAL(inlinedAt, MDField, );
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(tag, DwarfTagField, ); \
OPTIONAL(header, MDStringField, ); \
OPTIONAL(operands, MDFieldList, );
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(count, MDSignedField, (-1, -1, INT64_MAX)); \
OPTIONAL(lowerBound, MDSignedField, );
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(name, MDStringField, ); \
REQUIRED(value, MDSignedField, );
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
OPTIONAL(tag, DwarfTagField, (dwarf::DW_TAG_base_type)); \
OPTIONAL(name, MDStringField, ); \
OPTIONAL(size, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(align, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(encoding, DwarfAttEncodingField, );
void size_t size
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(tag, DwarfTagField, ); \
OPTIONAL(name, MDStringField, ); \
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(scope, MDField, ); \
REQUIRED(baseType, MDField, ); \
OPTIONAL(size, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(align, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(offset, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(flags, DIFlagField, ); \
OPTIONAL(extraData, MDField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
void size_t size
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(tag, DwarfTagField, ); \
OPTIONAL(name, MDStringField, ); \
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(scope, MDField, ); \
OPTIONAL(baseType, MDField, ); \
OPTIONAL(size, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(align, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(offset, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(flags, DIFlagField, ); \
OPTIONAL(elements, MDField, ); \
OPTIONAL(runtimeLang, DwarfLangField, ); \
OPTIONAL(vtableHolder, MDField, ); \
OPTIONAL(templateParams, MDField, ); \
OPTIONAL(identifier, MDStringField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
void size_t size
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
OPTIONAL(flags, DIFlagField, ); \
REQUIRED(types, MDField, );
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(filename, MDStringField, ); \
REQUIRED(directory, MDStringField, );
StringRef filename(StringRef path)
Get filename.
Definition: Path.cpp:548
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(language, DwarfLangField, ); \
REQUIRED(file, MDField, (/* AllowNull */ false)); \
OPTIONAL(producer, MDStringField, ); \
OPTIONAL(isOptimized, MDBoolField, ); \
OPTIONAL(flags, MDStringField, ); \
OPTIONAL(runtimeVersion, MDUnsignedField, (0, UINT32_MAX)); \
OPTIONAL(splitDebugFilename, MDStringField, ); \
OPTIONAL(emissionKind, MDUnsignedField, (0, UINT32_MAX)); \
OPTIONAL(enums, MDField, ); \
OPTIONAL(retainedTypes, MDField, ); \
OPTIONAL(subprograms, MDField, ); \
OPTIONAL(globals, MDField, ); \
OPTIONAL(imports, MDField, ); \
OPTIONAL(dwoId, MDUnsignedField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
globalsmodref Simple mod ref analysis for globals
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
OPTIONAL(scope, MDField, ); \
OPTIONAL(name, MDStringField, ); \
OPTIONAL(linkageName, MDStringField, ); \
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(type, MDField, ); \
OPTIONAL(isLocal, MDBoolField, ); \
OPTIONAL(isDefinition, MDBoolField, (true)); \
OPTIONAL(scopeLine, LineField, ); \
OPTIONAL(containingType, MDField, ); \
OPTIONAL(virtuality, DwarfVirtualityField, ); \
OPTIONAL(virtualIndex, MDUnsignedField, (0, UINT32_MAX)); \
OPTIONAL(flags, DIFlagField, ); \
OPTIONAL(isOptimized, MDBoolField, ); \
OPTIONAL(function, MDConstant, ); \
OPTIONAL(templateParams, MDField, ); \
OPTIONAL(declaration, MDField, ); \
OPTIONAL(variables, MDField, );
global Merge global variables
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(scope, MDField, (/* AllowNull */ false)); \
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(column, ColumnField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(scope, MDField, (/* AllowNull */ false)); \
OPTIONAL(file, MDField, ); \
REQUIRED(discriminator, MDUnsignedField, (0, UINT32_MAX));
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(scope, MDField, ); \
OPTIONAL(file, MDField, ); \
OPTIONAL(name, MDStringField, ); \
OPTIONAL(line, LineField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(scope, MDField, ); \
REQUIRED(name, MDStringField, ); \
OPTIONAL(configMacros, MDStringField, ); \
OPTIONAL(includePath, MDStringField, ); \
OPTIONAL(isysroot, MDStringField, );
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
OPTIONAL(name, MDStringField, ); \
REQUIRED(type, MDField, );
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
OPTIONAL(tag, DwarfTagField, (dwarf::DW_TAG_template_value_parameter)); \
OPTIONAL(name, MDStringField, ); \
OPTIONAL(type, MDField, ); \
REQUIRED(value, MDField, );
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(name, MDStringField, (/* AllowEmpty */ false)); \
OPTIONAL(scope, MDField, ); \
OPTIONAL(linkageName, MDStringField, ); \
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(type, MDField, ); \
OPTIONAL(isLocal, MDBoolField, ); \
OPTIONAL(isDefinition, MDBoolField, (true)); \
OPTIONAL(variable, MDConstant, ); \
OPTIONAL(declaration, MDField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(tag, DwarfTagField, ); \
REQUIRED(scope, MDField, (/* AllowNull */ false)); \
OPTIONAL(name, MDStringField, ); \
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(type, MDField, ); \
OPTIONAL(arg, MDUnsignedField, (0, UINT16_MAX)); \
OPTIONAL(flags, DIFlagField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
OPTIONAL(name, MDStringField, ); \
OPTIONAL(file, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(setter, MDStringField, ); \
OPTIONAL(getter, MDStringField, ); \
OPTIONAL(attributes, MDUnsignedField, (0, UINT32_MAX)); \
OPTIONAL(type, MDField, );
Number of individual test Apply this number of consecutive mutations to each input exit after the first new interesting input is found the minimized corpus is saved into the first input directory Number of jobs to run If Reload the main corpus periodically to get new units discovered by other processes Read the given input file
Deduce function attributes
static const char * name
#define VISIT_MD_FIELDS (   OPTIONAL,
  REQUIRED 
)
Value:
REQUIRED(tag, DwarfTagField, ); \
REQUIRED(scope, MDField, ); \
OPTIONAL(entity, MDField, ); \
OPTIONAL(line, LineField, ); \
OPTIONAL(name, MDStringField, );
static const char * name

Function Documentation

F ( )

Referenced by accumulateAndSortLibcalls(), llvm::sampleprof::SampleRecord::addCalledTarget(), llvm::orc::CompileOnDemandLayer< BaseLayerT, CompileCallbackMgrT, PartitioningFtor >::addModuleSet(), llvm::MachineOperand::addTargetFlag(), llvm::X86FrameLowering::adjustForHiPEPrologue(), llvm::NVPTXTargetLowering::allowFMA(), llvm::CodeMetrics::analyzeBasicBlock(), analyzeGlobalAux(), appendToGlobalArray(), llvm::DwarfCFIException::beginFunction(), llvm::WinException::beginFunction(), llvm::BitsToFloat(), llvm::APInt::bitsToFloat(), llvm::Interpreter::callFunction(), llvm::CallGraph::CallGraph(), llvm::EHStreamer::callToNoUnwindFunction(), llvm::CannotBeNegativeZero(), llvm::classifyEHPersonality(), llvm::CloneBasicBlock(), llvm::orc::cloneFunctionDecl(), CloneLoopBlocks(), llvm::cloneLoopWithPreheader(), llvm::CloneModule(), llvm::MCAssembler::computeFragmentSize(), llvm::ConstantFoldInstOperands(), containsParameters(), containsUndefs(), CouldBecomeSafePoint(), createFree(), createMalloc(), llvm::DemotePHIToStack(), llvm::DemoteRegToStack(), llvm::DependenceAnalysis::depends(), llvm::StatepointBase< Function, Instruction, Value, CallSite >::doesNotThrow(), llvm::BlockFrequencyInfoImpl< BlockT >::doFunction(), llvm::AsmPrinter::doInitialization(), llvm::Module::dropAllReferences(), llvm::dumpBlock(), llvm::dumpParent(), llvm::HexagonRegisterInfo::eliminateFrameIndex(), llvm::PPCTargetLowering::EmitAtomicBinary(), llvm::EmitBinaryFloatFnCall(), llvm::EmitFPutC(), llvm::EmitFPutS(), llvm::EmitFWrite(), emitGlobalConstantDataSequential(), llvm::BPFTargetLowering::EmitInstrWithCustomInserter(), llvm::XCoreTargetLowering::EmitInstrWithCustomInserter(), llvm::MSP430TargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::AsmPrinter::EmitJumpTableInfo(), llvm::MCObjectStreamer::EmitLabel(), llvm::EmitMemChr(), llvm::EmitMemCmp(), llvm::EmitMemCpyChk(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), llvm::EmitPutChar(), llvm::EmitPutS(), llvm::MSP430TargetLowering::EmitShiftInstr(), llvm::EmitStrChr(), llvm::EmitStrCpy(), llvm::EmitStrLen(), llvm::EmitStrNCmp(), llvm::EmitStrNCpy(), llvm::EmitStrNLen(), llvm::EmitUnaryFloatFnCall(), llvm::WinException::endFunction(), llvm::ARMException::endFunction(), llvm::WinException::endModule(), llvm::HexagonEvaluator::evaluate(), llvm::SparcTargetLowering::expandSelectCC(), Find(), findCallees(), findDeadCallerSavedReg(), llvm::ExecutionEngine::FindFunctionNamed(), llvm::MCJIT::FindFunctionNamed(), llvm::MCJIT::findModuleForSymbol(), FitsInFPType(), llvm::FloatToBits(), llvm::APInt::floatToBits(), llvm::InstCombiner::foldFMulConst(), forBothCUs(), generateUnsignedDivisionCode(), llvm::LazyCallGraph::get(), llvm::HexagonMCInstrInfo::getAccessSize(), llvm::HexagonInstrInfo::getAddrMode(), llvm::Pass::getAnalysis(), llvm::objcarc::GetARCInstKind(), llvm::Argument::getArgNo(), llvm::objcarc::GetBasicARCInstKind(), llvm::HexagonMCInstrInfo::getBitCount(), llvm::MSP430RegisterInfo::getCalleeSavedRegs(), llvm::ARMBaseRegisterInfo::getCalleeSavedRegs(), llvm::BitTracker::MachineEvaluator::getCell(), llvm::HexagonMCInstrInfo::getCExtOpNum(), llvm::HexagonInstrInfo::getCExtOpNum(), llvm::ExecutionEngine::getConstantValue(), getDiagHandler(), llvm::DIScope::getDirectory(), llvm::DIVariable::getDirectory(), llvm::DIObjCProperty::getDirectory(), llvm::HexagonMCInstrInfo::getExtendableOp(), llvm::HexagonMCInstrInfo::getExtentAlignment(), llvm::HexagonMCInstrInfo::getExtentBits(), getFeaturesStr(), llvm::DIScope::getFilename(), llvm::DIVariable::getFilename(), llvm::DIObjCProperty::getFilename(), llvm::AArch64_AM::getFPImmFloat(), llvm::ARM_AM::getFPImmFloat(), llvm::LazyCallGraph::Node::getFunction(), llvm::BlockFrequencyInfoImpl< llvm::BitTracker >::getFunction(), llvm::GCModuleInfo::getFunctionInfo(), llvm::getInst(), llvm::getIntrinsicIDForCall(), llvm::HexagonMCInstrInfo::getMaxValue(), llvm::HexagonInstrInfo::getMaxValue(), llvm::HexagonMCInstrInfo::getMinValue(), llvm::HexagonInstrInfo::getMinValue(), llvm::AliasAnalysis::getModRefBehavior(), llvm::LibCallAliasAnalysis::getModRefInfo(), llvm::TargetLibraryInfo::getName(), llvm::HexagonMCInstrInfo::getNewValueOp(), llvm::HexagonMCInstrInfo::getNewValueOperand(), llvm::MipsTargetLowering::getOpndList(), llvm::AArch64TargetLowering::getOptimalMemOpType(), llvm::PPCTargetLowering::getOptimalMemOpType(), llvm::X86TargetLowering::getOptimalMemOpType(), llvm::MCObjectStreamer::getOrCreateDataFragment(), llvm::LiveStacks::getOrCreateInterval(), llvm::CallGraph::getOrInsertFunction(), llvm::Module::getOrInsertFunction(), llvm::getParentFunction(), llvm::MachineModuleInfo::getPersonalityType(), llvm::X86RegisterInfo::getPointerRegClass(), llvm::ExecutionEngine::getPointerToGlobal(), llvm::TargetLibraryInfoImpl::getScalarizedFunction(), llvm::MipsCCState::getSpecialCallingConvForCallee(), llvm::DependenceAnalysis::getSplitIteration(), llvm::MCSection::getSubsectionInsertionPoint(), llvm::HexagonMCInstrInfo::getSubTarget(), llvm::X86TargetMachine::getTargetIRAnalysis(), llvm::XCoreTargetMachine::getTargetIRAnalysis(), llvm::AArch64TargetMachine::getTargetIRAnalysis(), llvm::SystemZTargetMachine::getTargetIRAnalysis(), llvm::WebAssemblyTargetMachine::getTargetIRAnalysis(), llvm::MipsTargetMachine::getTargetIRAnalysis(), llvm::PPCTargetMachine::getTargetIRAnalysis(), llvm::ARMBaseTargetMachine::getTargetIRAnalysis(), llvm::AMDGPUTargetMachine::getTargetIRAnalysis(), llvm::NVPTXTargetMachine::getTargetIRAnalysis(), llvm::TargetMachine::getTargetIRAnalysis(), llvm::LLVMTargetMachine::getTargetIRAnalysis(), llvm::HexagonMCInstrInfo::getType(), getUncompressedData(), llvm::BasicTTIImplBase< AMDGPUTTIImpl >::getUnrollingPreferences(), llvm::TargetTransformInfoImplCRTPBase< AMDGPUTTIImpl >::getUserCost(), llvm::BasicBlock::getValueSymbolTable(), llvm::TargetLibraryInfoImpl::getVectorizedFunction(), llvm::object::MachOObjectFile::guessLibraryShortName(), HasNestArgument(), llvm::HexagonMCInstrInfo::hasNewValue(), llvm::HexagonEvaluator::HexagonEvaluator(), initialize(), INITIALIZE_PASS(), insertParsePoints(), insertUniqueBackedgeBlock(), isAssumeLikeIntrinsic(), isBlockValidForExtraction(), llvm::HexagonInstrInfo::isConstExtended(), llvm::GlobalValue::isDeclaration(), llvm::HexagonMCInstrInfo::isExtendable(), llvm::HexagonInstrInfo::isExtendable(), llvm::HexagonMCInstrInfo::isExtended(), llvm::HexagonInstrInfo::isExtended(), llvm::HexagonMCInstrInfo::isFloat(), llvm::isGCRelocate(), llvm::isGCResult(), llvm::isInTailCallPosition(), llvm::TargetLowering::isInTailCallPosition(), llvm::GlobalValue::isMaterializable(), llvm::HexagonMCInstrInfo::isNewValue(), llvm::HexagonInstrInfo::isNewValue(), llvm::HexagonInstrInfo::isNewValueStore(), llvm::HexagonMCInstrInfo::isOperandExtended(), llvm::HexagonInstrInfo::isOperandExtended(), llvm::HexagonInstrInfo::isPredicated(), llvm::HexagonMCInstrInfo::isPredicated(), llvm::HexagonInstrInfo::isPredicatedNew(), llvm::HexagonInstrInfo::isPredicatedTrue(), llvm::HexagonMCInstrInfo::isPredicatedTrue(), llvm::ARMBaseInstrInfo::isProfitableToIfCvt(), llvm::RecurrenceDescriptor::isReductionPHI(), llvm::HexagonMCInstrInfo::isSolo(), llvm::HexagonMCInstrInfo::isSoloAin1(), llvm::HexagonMCInstrInfo::isSoloAX(), llvm::isStatepoint(), llvm::MCAsmLayout::layoutFragment(), LLVMCreateMCJITCompilerForModule(), LLVMFindFunction(), LLVMGetGC(), LLVMGetIntrinsicID(), LLVMSetGC(), LLVMViewFunctionCFG(), LLVMViewFunctionCFGOnly(), llvm::BitTracker::lookup(), llvm::NVPTXTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerFormalArguments(), LowerInterruptReturn(), llvm::NVPTXTargetLowering::LowerReturn(), LowerVectorBroadcast(), llvm::PatternMatch::m_Br(), main(), llvm::orc::makeAllSymbolsExternallyAccessible(), makeStatepointExplicitImpl(), llvm::orc::makeStub(), llvm::makeSubprogramMap(), llvm::map_iterator(), llvm::MapValue(), llvm::PatternMatch::IntrinsicID_match::match(), llvm::HexagonInstrInfo::mayBeNewStore(), llvm::WebAssemblyRegisterInfo::needsStackRealignment(), llvm::MipsRegisterInfo::needsStackRealignment(), llvm::AArch64RegisterInfo::needsStackRealignment(), llvm::X86RegisterInfo::needsStackRealignment(), llvm::ARMBaseRegisterInfo::needsStackRealignment(), llvm::PPCRegisterInfo::needsStackRealignment(), llvm::orc::CtorDtorIterator::operator*(), llvm::LazyCallGraph::iterator::operator*(), false::operator<<(), llvm::CallGraphWrapperPass::operator[](), llvm::optimizeGlobalCtorsList(), orderModule(), llvm::StatepointBase< Function, Instruction, Value, CallSite >::paramHasAttr(), llvm::CallInst::paramHasAttr(), llvm::InvokeInst::paramHasAttr(), llvm::parseAssemblyString(), llvm::ARMTargetParser::parseFPU(), true::DivergencePropagator::populateWithSourcesOfDivergence(), predictUseListOrder(), llvm::Trace::print(), llvm::SubtargetFeatures::print(), llvm::Value::print(), llvm::MachineBasicBlock::print(), llvm::DependenceAnalysis::print(), llvm::BlockFrequencyInfoImpl< BlockT >::print(), ProcessUGT_ADDCST_ADD(), ProcessUMulZExtIdiom(), llvm::GCOVFunction::readGCNO(), llvm::DominatorTreeBase< BasicBlock >::recalculate(), llvm::Inliner::removeDeadFunctions(), llvm::CallGraph::removeFunctionFromModule(), llvm::EarlyCSEPass::run(), llvm::SimplifyCFGPass::run(), llvm::InstCombinePass::run(), llvm::PrintFunctionPass::run(), llvm::AssumptionPrinterPass::run(), llvm::DominatorTreePrinterPass::run(), llvm::DominatorTreeVerifierPass::run(), llvm::LoopPrinterPass::run(), llvm::ModuleToFunctionPassAdaptor< FunctionPassT >::run(), llvm::UnifyFunctionExitNodes::runOnFunction(), llvm::BranchProbabilityInfo::runOnFunction(), llvm::DependenceAnalysis::runOnFunction(), llvm::Inliner::runOnSCC(), llvm::ExecutionEngine::runStaticConstructorsDestructors(), llvm::FastISel::selectInstruction(), llvm::TargetLibraryInfoImpl::setAvailableWithName(), setFunctionAttributes(), llvm::ActionHandler::setHandlerBlockOrFunc(), llvm::Value::setName(), llvm::MachineOperand::setTargetFlags(), SimplifyCall(), sizeOfSCEV(), llvm::LoopPass::skipOptnoneFunction(), llvm::BasicBlockPass::skipOptnoneFunction(), splitVectorValues(), llvm::StripDebugInfo(), llvm::UnrollLoop(), llvm::UnrollRuntimeLoopProlog(), unwrapLoop(), UpdateCallGraphAfterInlining(), UpgradeIntrinsicFunction1(), llvm::ValueEnumerator::ValueEnumerator(), valueHasFloatPrecision(), llvm::DominatorTree::verifyDomTree(), llvm::InstCombiner::visitAllocSite(), llvm::InstCombiner::visitCallInst(), llvm::Interpreter::visitCallSite(), llvm::InstCombiner::visitFCmpInst(), llvm::InstCombiner::visitGetElementPtrInst(), WindowsRequiresStackProbe(), llvm::sampleprof::SampleProfileWriter::write(), WriteConstants(), writeFragment(), WriteModule(), WriteModuleInfo(), and WriteUseListBlock().

FunctionNumber ( functionNumber  )

Definition at line 2146 of file LLParser.cpp.

References llvm::Function::arg_begin(), and llvm::Function::arg_end().

Referenced by PrintParentLoopComment().

static std::string getTypeString ( Type T)
static

Definition at line 35 of file LLParser.cpp.

References llvm::raw_string_ostream::str(), and T.

* if ( EatIfPresentlltok::kw_thread_local)
if ( Lex.  getKind() = = lltok::lparen)

Definition at line 1200 of file LLParser.cpp.

References llvm::LLLexer::Lex(), and llvm::lltok::rparen.

* if ( EatIfPresentlltok::kw_addrspace)

ParseOptionalAddrSpace := /*empty.

static bool isValidVisibilityForLinkage ( unsigned  V,
unsigned  L 
)
static

Variable Documentation

return false

Definition at line 1205 of file LLParser.cpp.

TLM = GlobalVariable::GeneralDynamicTLSModel

Definition at line 1199 of file LLParser.cpp.