Home
last modified time | relevance | path

Searched refs:GVFlags (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h463 struct GVFlags {
507 explicit GVFlags(GlobalValue::LinkageTypes Linkage,
521 GVFlags Flags;
544 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
571 GVFlags flags() const { return Flags; }
643 AliasSummary(GVFlags Flags)
854 FunctionSummary::GVFlags(
915 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
1168 GlobalVarSummary(GVFlags Flags, GVarFlags VarFlags,
H A DModuleSummaryIndexYAML.h228 GlobalValueSummary::GVFlags(
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp657 GlobalValueSummary::GVFlags Flags( in computeFunctionSummary()
815 GlobalValueSummary::GVFlags Flags( in computeVariableSummary()
862 GlobalValueSummary::GVFlags Flags( in computeAliasSummary()
941 GlobalValueSummary::GVFlags GVFlags( in buildModuleSummaryIndex() local
952 GVFlags, /*InstCount=*/0, in buildModuleSummaryIndex()
977 GVFlags, in buildModuleSummaryIndex()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp9382 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in parseFunctionSummary() local
9399 parseToken(lltok::comma, "expected ',' here") || parseGVFlags(GVFlags) || in parseFunctionSummary()
9445 GVFlags, InstCount, FFlags, /*EntryCount=*/0, std::move(Refs), in parseFunctionSummary()
9456 (GlobalValue::LinkageTypes)GVFlags.Linkage, ID, in parseFunctionSummary()
9470 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in parseVariableSummary() local
9484 parseToken(lltok::comma, "expected ',' here") || parseGVFlags(GVFlags) || in parseVariableSummary()
9509 std::make_unique<GlobalVarSummary>(GVFlags, GVarFlags, std::move(Refs)); in parseVariableSummary()
9515 (GlobalValue::LinkageTypes)GVFlags.Linkage, ID, in parseVariableSummary()
9529 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in parseAliasSummary() local
9537 parseToken(lltok::comma, "expected ',' here") || parseGVFlags(GVFlags) || in parseAliasSummary()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h394 bool parseGVFlags(GlobalValueSummary::GVFlags &GVFlags);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAsmWriter.cpp3572 GlobalValueSummary::GVFlags GVFlags = Summary.flags(); in printSummary() local
3573 GlobalValue::LinkageTypes LT = (GlobalValue::LinkageTypes)GVFlags.Linkage; in printSummary()
3579 << getVisibilityName((GlobalValue::VisibilityTypes)GVFlags.Visibility); in printSummary()
3580 Out << ", notEligibleToImport: " << GVFlags.NotEligibleToImport; in printSummary()
3581 Out << ", live: " << GVFlags.Live; in printSummary()
3582 Out << ", dsoLocal: " << GVFlags.DSOLocal; in printSummary()
3583 Out << ", canAutoHide: " << GVFlags.CanAutoHide; in printSummary()
3585 << getImportTypeName(GlobalValueSummary::ImportKind(GVFlags.ImportType)); in printSummary()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FastISel.cpp739 unsigned char GVFlags = Subtarget->classifyGlobalReference(GV); in handleConstantAddresses() local
742 if (isGlobalRelativeToPICBase(GVFlags)) { in handleConstantAddresses()
749 if (!isGlobalStubReference(GVFlags)) { in handleConstantAddresses()
756 AM.GVOpFlags = GVFlags; in handleConstantAddresses()
773 StubAM.GVOpFlags = GVFlags; in handleConstantAddresses()
786 if (Subtarget->isPICStyleRIPRel() || GVFlags == X86II::MO_GOTPCREL || in handleConstantAddresses()
787 GVFlags == X86II::MO_GOTPCREL_NORELAX) in handleConstantAddresses()
H A DX86ISelLowering.cpp34086 unsigned GVFlags = Subtarget.classifyGlobalReference(AM.BaseGV); in isLegalAddressingMode() local
34089 if (isGlobalStubReference(GVFlags)) in isLegalAddressingMode()
34094 if (AM.HasBaseReg && isGlobalRelativeToPICBase(GVFlags)) in isLegalAddressingMode()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1150 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags()
1167 return GlobalValueSummary::GVFlags(Linkage, Visibility, NotEligibleToImport, in getDecodedGVSummaryFlags()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1241 static uint64_t getEncodedGVSummaryFlags(GlobalValueSummary::GVFlags Flags, in getEncodedGVSummaryFlags()