Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/IR/
DModuleSummaryIndex.h93 struct GVFlags { struct
107 explicit GVFlags(GlobalValue::LinkageTypes Linkage, bool HasSection) in GVFlags() argument
109 GVFlags(const GlobalValue &GV) in GVFlags() function
131 GVFlags Flags;
141 GlobalValueSummary(SummaryKind K, GVFlags Flags) : Kind(K), Flags(Flags) {} in GlobalValueSummary()
164 GVFlags flags() { return Flags; } in flags()
210 AliasSummary(GVFlags Flags) : GlobalValueSummary(AliasKind, Flags) {} in AliasSummary()
246 FunctionSummary(GVFlags Flags, unsigned NumInsts) in FunctionSummary()
293 GlobalVarSummary(GVFlags Flags) : GlobalValueSummary(GlobalVarKind, Flags) {} in GlobalVarSummary()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp461 GlobalValueSummary::GVFlags Flags(F.getLinkage(), NotEligibleForImport, in computeFunctionSummary()
579 GlobalValueSummary::GVFlags Flags(V.getLinkage(), NonRenamableLocal, in computeVariableSummary()
618 GlobalValueSummary::GVFlags Flags(A.getLinkage(), NonRenamableLocal, in computeAliasSummary()
692 GlobalValueSummary::GVFlags GVFlags(GlobalValue::InternalLinkage, in buildModuleSummaryIndex() local
702 GVFlags, /*InstCount=*/0, in buildModuleSummaryIndex()
721 GVFlags, GlobalVarSummary::GVarFlags(false, false), in buildModuleSummaryIndex()
/external/llvm-project/llvm/include/llvm/IR/
DModuleSummaryIndex.h287 struct GVFlags {
324 explicit GVFlags(GlobalValue::LinkageTypes Linkage,
335 GVFlags Flags;
358 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
385 GVFlags flags() const { return Flags; }
438 AliasSummary(GVFlags Flags)
595 FunctionSummary::GVFlags(
635 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
849 GlobalVarSummary(GVFlags Flags, GVarFlags VarFlags,
DModuleSummaryIndexYAML.h225 GlobalValueSummary::GVFlags(
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h286 struct GVFlags {
323 explicit GVFlags(GlobalValue::LinkageTypes Linkage,
334 GVFlags Flags;
357 GlobalValueSummary(SummaryKind K, GVFlags Flags, std::vector<ValueInfo> Refs)
384 GVFlags flags() const { return Flags; }
437 AliasSummary(GVFlags Flags)
560 FunctionSummary::GVFlags(
595 FunctionSummary(GVFlags Flags, unsigned NumInsts, FFlags FunFlags,
770 GlobalVarSummary(GVFlags Flags, GVarFlags VarFlags,
DModuleSummaryIndexYAML.h224 GlobalValueSummary::GVFlags(
/external/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp98 GlobalValueSummary::GVFlags Flags(F); in computeFunctionSummary()
111 GlobalValueSummary::GVFlags Flags(V); in computeVariableSummary()
/external/llvm-project/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp462 GlobalValueSummary::GVFlags Flags(F.getLinkage(), NotEligibleForImport, in computeFunctionSummary()
583 GlobalValueSummary::GVFlags Flags(V.getLinkage(), NonRenamableLocal, in computeVariableSummary()
625 GlobalValueSummary::GVFlags Flags(A.getLinkage(), NonRenamableLocal, in computeAliasSummary()
700 GlobalValueSummary::GVFlags GVFlags(GlobalValue::InternalLinkage, in buildModuleSummaryIndex() local
710 GVFlags, /*InstCount=*/0, in buildModuleSummaryIndex()
730 GVFlags, in buildModuleSummaryIndex()
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp660 unsigned char GVFlags = Subtarget->classifyGlobalReference(GV); in EmitInstruction() local
661 GlobalToc = (GVFlags & PPCII::MO_NLP_FLAG); in EmitInstruction()
710 unsigned char GVFlags = Subtarget->classifyGlobalReference(GV); in EmitInstruction()
711 assert((GVFlags & PPCII::MO_NLP_FLAG) && in EmitInstruction()
739 unsigned char GVFlags = Subtarget->classifyGlobalReference(GV); in EmitInstruction()
741 !(GVFlags & PPCII::MO_NLP_FLAG) && in EmitInstruction()
DPPCFastISel.cpp1990 unsigned char GVFlags = PPCSubTarget->classifyGlobalReference(GV); in PPCMaterializeGV() local
1991 if (GVFlags & PPCII::MO_NLP_FLAG) { in PPCMaterializeGV()
DPPCISelDAGToDAG.cpp3026 unsigned char GVFlags = PPCSubTarget->classifyGlobalReference(GV); in Select() local
3027 if (GVFlags & PPCII::MO_NLP_FLAG) { in Select()
/external/llvm-project/llvm/lib/AsmParser/
DLLParser.cpp8511 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in parseFunctionSummary() local
8524 parseToken(lltok::comma, "expected ',' here") || parseGVFlags(GVFlags) || in parseFunctionSummary()
8562 GVFlags, InstCount, FFlags, /*EntryCount=*/0, std::move(Refs), in parseFunctionSummary()
8572 addGlobalValueToIndex(Name, GUID, (GlobalValue::LinkageTypes)GVFlags.Linkage, in parseFunctionSummary()
8587 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in parseVariableSummary() local
8599 parseToken(lltok::comma, "expected ',' here") || parseGVFlags(GVFlags) || in parseVariableSummary()
8624 std::make_unique<GlobalVarSummary>(GVFlags, GVarFlags, std::move(Refs)); in parseVariableSummary()
8629 addGlobalValueToIndex(Name, GUID, (GlobalValue::LinkageTypes)GVFlags.Linkage, in parseVariableSummary()
8645 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in parseAliasSummary() local
8651 parseToken(lltok::comma, "expected ',' here") || parseGVFlags(GVFlags) || in parseAliasSummary()
[all …]
DLLParser.h347 bool parseGVFlags(GlobalValueSummary::GVFlags &GVFlags);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.cpp8084 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in ParseFunctionSummary() local
8096 ParseToken(lltok::comma, "expected ',' here") || ParseGVFlags(GVFlags) || in ParseFunctionSummary()
8130 GVFlags, InstCount, FFlags, /*EntryCount=*/0, std::move(Refs), in ParseFunctionSummary()
8139 AddGlobalValueToIndex(Name, GUID, (GlobalValue::LinkageTypes)GVFlags.Linkage, in ParseFunctionSummary()
8154 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in ParseVariableSummary() local
8164 ParseToken(lltok::comma, "expected ',' here") || ParseGVFlags(GVFlags) || in ParseVariableSummary()
8189 std::make_unique<GlobalVarSummary>(GVFlags, GVarFlags, std::move(Refs)); in ParseVariableSummary()
8194 AddGlobalValueToIndex(Name, GUID, (GlobalValue::LinkageTypes)GVFlags.Linkage, in ParseVariableSummary()
8210 GlobalValueSummary::GVFlags GVFlags = GlobalValueSummary::GVFlags( in ParseAliasSummary() local
8216 ParseToken(lltok::comma, "expected ',' here") || ParseGVFlags(GVFlags) || in ParseAliasSummary()
[all …]
DLLParser.h354 bool ParseGVFlags(GlobalValueSummary::GVFlags &GVFlags);
/external/llvm-project/llvm/lib/IR/
DAsmWriter.cpp3327 GlobalValueSummary::GVFlags GVFlags = Summary.flags(); in printSummary() local
3328 GlobalValue::LinkageTypes LT = (GlobalValue::LinkageTypes)GVFlags.Linkage; in printSummary()
3333 Out << ", notEligibleToImport: " << GVFlags.NotEligibleToImport; in printSummary()
3334 Out << ", live: " << GVFlags.Live; in printSummary()
3335 Out << ", dsoLocal: " << GVFlags.DSOLocal; in printSummary()
3336 Out << ", canAutoHide: " << GVFlags.CanAutoHide; in printSummary()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAsmWriter.cpp3090 GlobalValueSummary::GVFlags GVFlags = Summary.flags(); in printSummary() local
3091 GlobalValue::LinkageTypes LT = (GlobalValue::LinkageTypes)GVFlags.Linkage; in printSummary()
3096 Out << ", notEligibleToImport: " << GVFlags.NotEligibleToImport; in printSummary()
3097 Out << ", live: " << GVFlags.Live; in printSummary()
3098 Out << ", dsoLocal: " << GVFlags.DSOLocal; in printSummary()
3099 Out << ", canAutoHide: " << GVFlags.CanAutoHide; in printSummary()
/external/llvm-project/llvm/lib/Target/X86/
DX86FastISel.cpp740 unsigned char GVFlags = Subtarget->classifyGlobalReference(GV); in handleConstantAddresses() local
743 if (isGlobalRelativeToPICBase(GVFlags)) { in handleConstantAddresses()
750 if (!isGlobalStubReference(GVFlags)) { in handleConstantAddresses()
757 AM.GVOpFlags = GVFlags; in handleConstantAddresses()
774 StubAM.GVOpFlags = GVFlags; in handleConstantAddresses()
787 if (Subtarget->isPICStyleRIPRel() || GVFlags == X86II::MO_GOTPCREL) in handleConstantAddresses()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp727 unsigned char GVFlags = Subtarget->classifyGlobalReference(GV); in handleConstantAddresses() local
730 if (isGlobalRelativeToPICBase(GVFlags)) { in handleConstantAddresses()
737 if (!isGlobalStubReference(GVFlags)) { in handleConstantAddresses()
744 AM.GVOpFlags = GVFlags; in handleConstantAddresses()
761 StubAM.GVOpFlags = GVFlags; in handleConstantAddresses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp741 unsigned char GVFlags = Subtarget->classifyGlobalReference(GV); in handleConstantAddresses() local
744 if (isGlobalRelativeToPICBase(GVFlags)) { in handleConstantAddresses()
751 if (!isGlobalStubReference(GVFlags)) { in handleConstantAddresses()
758 AM.GVOpFlags = GVFlags; in handleConstantAddresses()
775 StubAM.GVOpFlags = GVFlags; in handleConstantAddresses()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp968 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags()
983 return GlobalValueSummary::GVFlags(Linkage, NotEligibleToImport, Live, Local, AutoHide); in getDecodedGVSummaryFlags()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp724 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags()
732 return GlobalValueSummary::GVFlags(Linkage, HasSection); in getDecodedGVSummaryFlags()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp972 static GlobalValueSummary::GVFlags getDecodedGVSummaryFlags(uint64_t RawFlags, in getDecodedGVSummaryFlags()
987 return GlobalValueSummary::GVFlags(Linkage, NotEligibleToImport, Live, Local, AutoHide); in getDecodedGVSummaryFlags()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp943 static uint64_t getEncodedGVSummaryFlags(GlobalValueSummary::GVFlags Flags) { in getEncodedGVSummaryFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1014 static uint64_t getEncodedGVSummaryFlags(GlobalValueSummary::GVFlags Flags) { in getEncodedGVSummaryFlags()

12