Lines Matching refs:LLParser

42 bool LLParser::Run() {  in Run()
52 bool LLParser::ValidateEndOfModule() { in ValidateEndOfModule()
171 bool LLParser::ParseTopLevelEntities() { in ParseTopLevelEntities()
239 bool LLParser::ParseModuleAsm() { in ParseModuleAsm()
254 bool LLParser::ParseTargetDefinition() { in ParseTargetDefinition()
280 bool LLParser::ParseDepLibs() { in ParseDepLibs()
300 bool LLParser::ParseUnnamedType() { in ParseUnnamedType()
327 bool LLParser::ParseNamedType() { in ParseNamedType()
354 bool LLParser::ParseDeclare() { in ParseDeclare()
364 bool LLParser::ParseDefine() { in ParseDefine()
376 bool LLParser::ParseGlobalType(bool &IsConstant) { in ParseGlobalType()
396 bool LLParser::ParseUnnamedGlobal() { in ParseUnnamedGlobal()
434 bool LLParser::ParseNamedGlobal() { in ParseNamedGlobal()
460 bool LLParser::parseComdat() { in parseComdat()
512 bool LLParser::ParseMDString(MDString *&Result) { in ParseMDString()
522 bool LLParser::ParseMDNodeID(MDNode *&Result) { in ParseMDNodeID()
545 bool LLParser::ParseNamedMetadata() { in ParseNamedMetadata()
574 bool LLParser::ParseStandaloneMetadata() { in ParseStandaloneMetadata()
627 bool LLParser::ParseAlias(const std::string &Name, LocTy NameLoc, unsigned L, in ParseAlias()
721 bool LLParser::ParseGlobal(const std::string &Name, LocTy NameLoc, in ParseGlobal()
833 bool LLParser::ParseUnnamedAttrGrp() { in ParseUnnamedAttrGrp()
861 bool LLParser::ParseFnAttributeValuePairs(AttrBuilder &B, in ParseFnAttributeValuePairs()
1004 GlobalValue *LLParser::GetGlobalVal(const std::string &Name, Type *Ty, in GetGlobalVal()
1047 GlobalValue *LLParser::GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc) { in GetGlobalVal()
1090 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat()
1110 bool LLParser::ParseToken(lltok::Kind T, const char *ErrMsg) { in ParseToken()
1119 bool LLParser::ParseStringConstant(std::string &Result) { in ParseStringConstant()
1129 bool LLParser::ParseUInt32(unsigned &Val) { in ParseUInt32()
1142 bool LLParser::ParseUInt64(uint64_t &Val) { in ParseUInt64()
1154 bool LLParser::ParseTLSModel(GlobalVariable::ThreadLocalMode &TLM) { in ParseTLSModel()
1177 bool LLParser::ParseOptionalThreadLocal(GlobalVariable::ThreadLocalMode &TLM) { in ParseOptionalThreadLocal()
1194 bool LLParser::ParseOptionalAddrSpace(unsigned &AddrSpace) { in ParseOptionalAddrSpace()
1204 bool LLParser::ParseOptionalParamAttrs(AttrBuilder &B) { in ParseOptionalParamAttrs()
1283 bool LLParser::ParseOptionalReturnAttrs(AttrBuilder &B) { in ParseOptionalReturnAttrs()
1375 bool LLParser::ParseOptionalLinkage(unsigned &Res, bool &HasLinkage) { in ParseOptionalLinkage()
1404 bool LLParser::ParseOptionalVisibility(unsigned &Res) { in ParseOptionalVisibility()
1420 bool LLParser::ParseOptionalDLLStorageClass(unsigned &Res) { in ParseOptionalDLLStorageClass()
1457 bool LLParser::ParseOptionalCallingConv(unsigned &CC) { in ParseOptionalCallingConv()
1495 bool LLParser::ParseInstructionMetadata(Instruction *Inst, in ParseInstructionMetadata()
1521 bool LLParser::ParseOptionalAlignment(unsigned &Alignment) { in ParseOptionalAlignment()
1539 bool LLParser::ParseOptionalDerefAttrBytes(lltok::Kind AttrKind, in ParseOptionalDerefAttrBytes()
1567 bool LLParser::ParseOptionalCommaAlign(unsigned &Alignment, in ParseOptionalCommaAlign()
1591 bool LLParser::ParseScopeAndOrdering(bool isAtomic, SynchronizationScope &Scope, in ParseScopeAndOrdering()
1607 bool LLParser::ParseOrdering(AtomicOrdering &Ordering) { in ParseOrdering()
1624 bool LLParser::ParseOptionalStackAlignment(unsigned &Alignment) { in ParseOptionalStackAlignment()
1650 bool LLParser::ParseIndexList(SmallVectorImpl<unsigned> &Indices, in ParseIndexList()
1676 bool LLParser::ParseType(Type *&Result, const Twine &Msg, bool AllowVoid) { in ParseType()
1790 bool LLParser::ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in ParseParameterList()
1854 bool LLParser::ParseArgumentList(SmallVectorImpl<ArgInfo> &ArgList, in ParseArgumentList()
1926 bool LLParser::ParseFunctionType(Type *&Result) { in ParseFunctionType()
1956 bool LLParser::ParseAnonStructType(Type *&Result, bool Packed) { in ParseAnonStructType()
1965 bool LLParser::ParseStructDefinition(SMLoc TypeLoc, StringRef Name, in ParseStructDefinition()
2027 bool LLParser::ParseStructBody(SmallVectorImpl<Type*> &Body) { in ParseStructBody()
2061 bool LLParser::ParseArrayVectorType(Type *&Result, bool isVector) { in ParseArrayVectorType()
2101 LLParser::PerFunctionState::PerFunctionState(LLParser &p, Function &f, in PerFunctionState()
2112 LLParser::PerFunctionState::~PerFunctionState() { in ~PerFunctionState()
2133 bool LLParser::PerFunctionState::FinishFunction() { in FinishFunction()
2149 Value *LLParser::PerFunctionState::GetVal(const std::string &Name, in GetVal()
2191 Value *LLParser::PerFunctionState::GetVal(unsigned ID, Type *Ty, in GetVal()
2234 bool LLParser::PerFunctionState::SetInstName(int NameID, in SetInstName()
2293 BasicBlock *LLParser::PerFunctionState::GetBB(const std::string &Name, in GetBB()
2299 BasicBlock *LLParser::PerFunctionState::GetBB(unsigned ID, LocTy Loc) { in GetBB()
2307 BasicBlock *LLParser::PerFunctionState::DefineBB(const std::string &Name, in DefineBB()
2342 bool LLParser::ParseValID(ValID &ID, PerFunctionState *PFS) { in ParseValID()
2900 bool LLParser::ParseGlobalValue(Type *Ty, Constant *&C) { in ParseGlobalValue()
2911 bool LLParser::ParseGlobalTypeAndValue(Constant *&V) { in ParseGlobalTypeAndValue()
2917 bool LLParser::parseOptionalComdat(StringRef GlobalName, Comdat *&C) { in parseOptionalComdat()
2943 bool LLParser::ParseGlobalValueVector(SmallVectorImpl<Constant *> &Elts) { in ParseGlobalValueVector()
2963 bool LLParser::ParseMDTuple(MDNode *&MD, bool IsDistinct) { in ParseMDTuple()
2976 bool LLParser::ParseMDNode(MDNode *&N) { in ParseMDNode()
2984 bool LLParser::ParseMDNodeTail(MDNode *&N) { in ParseMDNodeTail()
3076 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, in ParseMDField()
3092 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, LineField &Result) { in ParseMDField()
3096 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, ColumnField &Result) { in ParseMDField()
3101 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DwarfTagField &Result) { in ParseMDField()
3119 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, in ParseMDField()
3138 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DwarfLangField &Result) { in ParseMDField()
3156 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, in ParseMDField()
3179 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DIFlagField &Result) { in ParseMDField()
3212 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, in ParseMDField()
3232 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDBoolField &Result) { in ParseMDField()
3248 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDField &Result) { in ParseMDField()
3266 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDConstant &Result) { in ParseMDField()
3276 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDStringField &Result) { in ParseMDField()
3290 bool LLParser::ParseMDField(LocTy Loc, StringRef Name, MDFieldList &Result) { in ParseMDField()
3302 bool LLParser::ParseMDFieldsImplBody(ParserTy parseField) { in ParseMDFieldsImplBody()
3315 bool LLParser::ParseMDFieldsImpl(ParserTy parseField, LocTy &ClosingLoc) { in ParseMDFieldsImpl()
3330 bool LLParser::ParseMDField(StringRef Name, FieldTy &Result) { in ParseMDField()
3339 bool LLParser::ParseSpecializedMDNode(MDNode *&N, bool IsDistinct) { in ParseSpecializedMDNode()
3374 bool LLParser::ParseMDLocation(MDNode *&Result, bool IsDistinct) { in ParseMDLocation()
3390 bool LLParser::ParseGenericDebugNode(MDNode *&Result, bool IsDistinct) { in ParseGenericDebugNode()
3405 bool LLParser::ParseMDSubrange(MDNode *&Result, bool IsDistinct) { in ParseMDSubrange()
3418 bool LLParser::ParseMDEnumerator(MDNode *&Result, bool IsDistinct) { in ParseMDEnumerator()
3431 bool LLParser::ParseMDBasicType(MDNode *&Result, bool IsDistinct) { in ParseMDBasicType()
3450 bool LLParser::ParseMDDerivedType(MDNode *&Result, bool IsDistinct) { in ParseMDDerivedType()
3473 bool LLParser::ParseMDCompositeType(MDNode *&Result, bool IsDistinct) { in ParseMDCompositeType()
3501 bool LLParser::ParseMDSubroutineType(MDNode *&Result, bool IsDistinct) { in ParseMDSubroutineType()
3514 bool LLParser::ParseMDFile(MDNode *&Result, bool IsDistinct) { in ParseMDFile()
3531 bool LLParser::ParseMDCompileUnit(MDNode *&Result, bool IsDistinct) { in ParseMDCompileUnit()
3566 bool LLParser::ParseMDSubprogram(MDNode *&Result, bool IsDistinct) { in ParseMDSubprogram()
3600 bool LLParser::ParseMDLexicalBlock(MDNode *&Result, bool IsDistinct) { in ParseMDLexicalBlock()
3616 bool LLParser::ParseMDLexicalBlockFile(MDNode *&Result, bool IsDistinct) { in ParseMDLexicalBlockFile()
3631 bool LLParser::ParseMDNamespace(MDNode *&Result, bool IsDistinct) { in ParseMDNamespace()
3647 bool LLParser::ParseMDTemplateTypeParameter(MDNode *&Result, bool IsDistinct) { in ParseMDTemplateTypeParameter()
3662 bool LLParser::ParseMDTemplateValueParameter(MDNode *&Result, bool IsDistinct) { in ParseMDTemplateValueParameter()
3681 bool LLParser::ParseMDGlobalVariable(MDNode *&Result, bool IsDistinct) { in ParseMDGlobalVariable()
3706 bool LLParser::ParseMDLocalVariable(MDNode *&Result, bool IsDistinct) { in ParseMDLocalVariable()
3727 bool LLParser::ParseMDExpression(MDNode *&Result, bool IsDistinct) { in ParseMDExpression()
3766 bool LLParser::ParseMDObjCProperty(MDNode *&Result, bool IsDistinct) { in ParseMDObjCProperty()
3787 bool LLParser::ParseMDImportedEntity(MDNode *&Result, bool IsDistinct) { in ParseMDImportedEntity()
3814 bool LLParser::ParseMetadataAsValue(Value *&V, PerFunctionState &PFS) { in ParseMetadataAsValue()
3828 bool LLParser::ParseValueAsMetadata(Metadata *&MD, const Twine &TypeMsg, in ParseValueAsMetadata()
3853 bool LLParser::ParseMetadata(Metadata *&MD, PerFunctionState *PFS) { in ParseMetadata()
3896 bool LLParser::ConvertValIDToValue(Type *Ty, ValID &ID, Value *&V, in ConvertValIDToValue()
4007 bool LLParser::ParseValue(Type *Ty, Value *&V, PerFunctionState *PFS) { in ParseValue()
4014 bool LLParser::ParseTypeAndValue(Value *&V, PerFunctionState *PFS) { in ParseTypeAndValue()
4020 bool LLParser::ParseTypeAndBasicBlock(BasicBlock *&BB, LocTy &Loc, in ParseTypeAndBasicBlock()
4036 bool LLParser::ParseFunctionHeader(Function *&Fn, bool isDefine) { in ParseFunctionHeader()
4270 bool LLParser::PerFunctionState::resolveForwardRefBlockAddresses() { in resolveForwardRefBlockAddresses()
4308 bool LLParser::ParseFunctionBody(Function &Fn) { in ParseFunctionBody()
4345 bool LLParser::ParseBasicBlock(PerFunctionState &PFS) { in ParseBasicBlock()
4417 int LLParser::ParseInstruction(Instruction *&Inst, BasicBlock *BB, in ParseInstruction()
4523 bool LLParser::ParseCmpPredicate(unsigned &P, unsigned Opc) { in ParseCmpPredicate()
4570 bool LLParser::ParseRet(Instruction *&Inst, BasicBlock *BB, in ParseRet()
4602 bool LLParser::ParseBr(Instruction *&Inst, PerFunctionState &PFS) { in ParseBr()
4631 bool LLParser::ParseSwitch(Instruction *&Inst, PerFunctionState &PFS) { in ParseSwitch()
4676 bool LLParser::ParseIndirectBr(Instruction *&Inst, PerFunctionState &PFS) { in ParseIndirectBr()
4717 bool LLParser::ParseInvoke(Instruction *&Inst, PerFunctionState &PFS) { in ParseInvoke()
4821 bool LLParser::ParseResume(Instruction *&Inst, PerFunctionState &PFS) { in ParseResume()
4840 bool LLParser::ParseArithmetic(Instruction *&Inst, PerFunctionState &PFS, in ParseArithmetic()
4868 bool LLParser::ParseLogical(Instruction *&Inst, PerFunctionState &PFS, in ParseLogical()
4887 bool LLParser::ParseCompare(Instruction *&Inst, PerFunctionState &PFS, in ParseCompare()
4920 bool LLParser::ParseCast(Instruction *&Inst, PerFunctionState &PFS, in ParseCast()
4942 bool LLParser::ParseSelect(Instruction *&Inst, PerFunctionState &PFS) { in ParseSelect()
4961 bool LLParser::ParseVA_Arg(Instruction *&Inst, PerFunctionState &PFS) { in ParseVA_Arg()
4979 bool LLParser::ParseExtractElement(Instruction *&Inst, PerFunctionState &PFS) { in ParseExtractElement()
4996 bool LLParser::ParseInsertElement(Instruction *&Inst, PerFunctionState &PFS) { in ParseInsertElement()
5015 bool LLParser::ParseShuffleVector(Instruction *&Inst, PerFunctionState &PFS) { in ParseShuffleVector()
5034 int LLParser::ParsePHI(Instruction *&Inst, PerFunctionState &PFS) { in ParsePHI()
5083 bool LLParser::ParseLandingPad(Instruction *&Inst, PerFunctionState &PFS) { in ParseLandingPad()
5136 bool LLParser::ParseCall(Instruction *&Inst, PerFunctionState &PFS, in ParseCall()
5242 int LLParser::ParseAlloc(Instruction *&Inst, PerFunctionState &PFS) { in ParseAlloc()
5281 int LLParser::ParseLoad(Instruction *&Inst, PerFunctionState &PFS) { in ParseLoad()
5329 int LLParser::ParseStore(Instruction *&Inst, PerFunctionState &PFS) { in ParseStore()
5373 int LLParser::ParseCmpXchg(Instruction *&Inst, PerFunctionState &PFS) { in ParseCmpXchg()
5427 int LLParser::ParseAtomicRMW(Instruction *&Inst, PerFunctionState &PFS) { in ParseAtomicRMW()
5482 int LLParser::ParseFence(Instruction *&Inst, PerFunctionState &PFS) { in ParseFence()
5499 int LLParser::ParseGetElementPtr(Instruction *&Inst, PerFunctionState &PFS) { in ParseGetElementPtr()
5561 int LLParser::ParseExtractValue(Instruction *&Inst, PerFunctionState &PFS) { in ParseExtractValue()
5580 int LLParser::ParseInsertValue(Instruction *&Inst, PerFunctionState &PFS) { in ParseInsertValue()
5612 bool LLParser::ParseMDNodeVector(SmallVectorImpl<Metadata *> &Elts) { in ParseMDNodeVector()
5639 bool LLParser::sortUseListOrder(Value *V, ArrayRef<unsigned> Indexes, in sortUseListOrder()
5665 bool LLParser::ParseUseListOrderIndexes(SmallVectorImpl<unsigned> &Indexes) { in ParseUseListOrderIndexes()
5707 bool LLParser::ParseUseListOrder(PerFunctionState *PFS) { in ParseUseListOrder()
5724 bool LLParser::ParseUseListOrderBB() { in ParseUseListOrderBB()