Home
last modified time | relevance | path

Searched refs:ValueInfo (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModuleSummaryIndex.h165 struct ValueInfo { struct
170 ValueInfo() = default; argument
171 ValueInfo(bool HaveGVs, const GlobalValueSummaryMapTy::value_type *R) { in ValueInfo() argument
231 inline raw_ostream &operator<<(raw_ostream &OS, const ValueInfo &VI) { argument
238 inline bool operator==(const ValueInfo &A, const ValueInfo &B) {
244 inline bool operator!=(const ValueInfo &A, const ValueInfo &B) {
250 inline bool operator<(const ValueInfo &A, const ValueInfo &B) {
256 template <> struct DenseMapInfo<ValueInfo> {
257 static inline ValueInfo getEmptyKey() {
258 return ValueInfo(false, (GlobalValueSummaryMapTy::value_type *)-8);
[all …]
DModuleSummaryIndexYAML.h217 std::vector<ValueInfo> Refs;
221 Refs.push_back(ValueInfo(/*IsAnalysis=*/false, &*V.find(RefGUID)));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp195 auto &ValueInfo = Mapping.second; in buildSetsFrom() local
197 assert(ValueInfo.getNumLevels() > 0); in buildSetsFrom()
200 ValueInfo.getNodeInfoAtLevel(0).Attr); in buildSetsFrom()
201 for (unsigned I = 0, E = ValueInfo.getNumLevels() - 1; I < E; ++I) { in buildSetsFrom()
204 ValueInfo.getNodeInfoAtLevel(I + 1).Attr); in buildSetsFrom()
215 auto &ValueInfo = Mapping.second; in buildSetsFrom() local
217 for (unsigned I = 0, E = ValueInfo.getNumLevels(); I < E; ++I) { in buildSetsFrom()
219 for (auto &Edge : ValueInfo.getNodeInfoAtLevel(I).Edges) in buildSetsFrom()
DModuleSummaryAnalysis.cpp90 SetVector<ValueInfo> &RefEdges, in findRefEdges()
255 MapVector<ValueInfo, CalleeInfo> CallGraphEdges; in computeFunctionSummary()
256 SetVector<ValueInfo> RefEdges, LoadRefEdges, StoreRefEdges; in computeFunctionSummary()
354 auto &ValueInfo = CallGraphEdges[Index.getOrInsertValueInfo( in computeFunctionSummary() local
356 ValueInfo.updateHotness(Hotness); in computeFunctionSummary()
362 ValueInfo.updateRelBlockFreq(BBFreq, EntryFreq); in computeFunctionSummary()
395 std::vector<ValueInfo> Refs; in computeFunctionSummary()
398 SetVector<ValueInfo> &Edges, in computeFunctionSummary()
575 SetVector<ValueInfo> RefEdges; in computeVariableSummary()
635 if (ValueInfo VI = Index.getValueInfo(GlobalValue::getGUID(Name))) in setLiveRoot()
[all …]
DCFLAndersAliasAnalysis.cpp611 auto &ValueInfo = Mapping.second; in initializeWorkList() local
612 assert(ValueInfo.getNumLevels() > 0); in initializeWorkList()
615 for (unsigned I = 0, E = ValueInfo.getNumLevels(); I < E; ++I) { in initializeWorkList()
619 for (auto &Edge : ValueInfo.getNodeInfoAtLevel(I).Edges) { in initializeWorkList()
744 auto &ValueInfo = Mapping.second; in buildAttrMap() local
745 for (unsigned I = 0, E = ValueInfo.getNumLevels(); I < E; ++I) { in buildAttrMap()
747 AttrMap.add(Node, ValueInfo.getNodeInfoAtLevel(I).Attr); in buildAttrMap()
/third_party/vk-gl-cts/modules/internal/
DditTestLogTests.cpp53 … << TestLog::ValueInfo("NumDrawCalls", "Number of draw calls", "", QP_SAMPLE_VALUE_TAG_PREDICTOR) in iterate()
54 << TestLog::ValueInfo("NumOps", "Number of ops in shader", "op", QP_SAMPLE_VALUE_TAG_PREDICTOR) in iterate()
55 << TestLog::ValueInfo("RenderTime", "Rendering time", "ms", QP_SAMPLE_VALUE_TAG_RESPONSE) in iterate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DSummaryBasedOptimizations.cpp54 auto GetEntryCount = [](ValueInfo V) { in computeSyntheticCounts()
63 auto AddToEntryCount = [](ValueInfo V, Scaled64 New) { in computeSyntheticCounts()
74 auto GetProfileCount = [&](ValueInfo V, FunctionSummary::EdgeTy &Edge) { in computeSyntheticCounts()
DLTO.cpp195 for (const ValueInfo &VI : GS->refs()) { in computeLTOCacheKey()
305 ValueInfo VI, DenseSet<GlobalValueSummary *> &GlobalInvolvedWithAlias, in thinLTOResolvePrevailingGUID()
389 ValueInfo VI, function_ref<bool(StringRef, ValueInfo)> isExported, in thinLTOInternalizeAndPromoteGUID()
420 function_ref<bool(StringRef, ValueInfo)> isExported, in thinLTOInternalizeAndPromoteInIndex()
1305 std::map<ValueInfo, std::vector<VTableSlotSummary>> LocalWPDTargetsMap; in runThinLTO()
1336 auto isExported = [&](StringRef ModuleIdentifier, ValueInfo VI) { in runThinLTO()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DFunctionImport.h73 ValueInfo VI;
81 ImportFailureInfo(ValueInfo VI, CalleeInfo::HotnessType MaxHotness, in ImportFailureInfo()
101 using ExportSetTy = DenseSet<ValueInfo>;
DWholeProgramDevirt.h33 struct ValueInfo;
248 std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap);
254 function_ref<bool(StringRef, ValueInfo)> isExported,
255 std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h202 struct ValueInfo { struct
242 ValueInfo &getOrCreateValueInfo(Value *);
245 const ValueInfo &getValueInfo(Value *) const;
257 SmallVector<ValueInfo, 32> ValueInfos;
DFunctionImportUtils.h52 bool shouldPromoteLocalToGlobal(const GlobalValue *SGV, ValueInfo VI);
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp1368 …<< tcu::TestLog::ValueInfo("WrittenSize", "Written size", "bytes", QP_SAMPLE_VALUE_TAG_PREDICTO… in logSampleList()
1369 << tcu::TestLog::ValueInfo("BufferSize", "Buffer size", "bytes", QP_SAMPLE_VALUE_TAG_PREDICTOR) in logSampleList()
1370 << tcu::TestLog::ValueInfo("UploadTime", "Upload time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSampleList()
1371 << tcu::TestLog::ValueInfo("FitResidual", "Fit residual", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSampleList()
1392 …<< tcu::TestLog::ValueInfo("WrittenSize", "Written size", "bytes", QP_SAMPLE_VALUE_TAG_PREDICTO… in logSampleList()
1393 << tcu::TestLog::ValueInfo("BufferSize", "Buffer size", "bytes", QP_SAMPLE_VALUE_TAG_PREDICTOR) in logSampleList()
1394 << tcu::TestLog::ValueInfo("TotalTime", "Total time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSampleList()
1395 << tcu::TestLog::ValueInfo("AllocTime", "Alloc time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSampleList()
1396 << tcu::TestLog::ValueInfo("MapTime", "Map time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSampleList()
1397 << tcu::TestLog::ValueInfo("UnmapTime", "Unmap time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSampleList()
[all …]
Des3pDepthTests.cpp645 << TestLog::ValueInfo("Workload", "Workload", "", QP_SAMPLE_VALUE_TAG_PREDICTOR) in logSamples()
646 << TestLog::ValueInfo("Order", "Order of sample", "", QP_SAMPLE_VALUE_TAG_PREDICTOR) in logSamples()
647 << TestLog::ValueInfo("TestTime", "Test render time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSamples()
660 << TestLog::ValueInfo("Workload", "Workload", "", QP_SAMPLE_VALUE_TAG_PREDICTOR) in logSamples()
661 << TestLog::ValueInfo("Order", "Order of sample", "", QP_SAMPLE_VALUE_TAG_PREDICTOR) in logSamples()
662 << TestLog::ValueInfo("TestTime", "Test render time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSamples()
663 << TestLog::ValueInfo("NullTime", "Read pixels time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSamples()
664 << TestLog::ValueInfo("BaseTime", "Base render time", "us", QP_SAMPLE_VALUE_TAG_RESPONSE) in logSamples()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModuleSummaryIndex.cpp37 bool ValueInfo::isDSOLocal() const { in isDSOLocal()
46 bool ValueInfo::canAutoHide() const { in canAutoHide()
247 for (const ValueInfo &V : *I) { in dumpSCCs()
362 static std::string getNodeVisualName(const ValueInfo &VI) { in getNodeVisualName()
366 static std::string getNodeLabel(const ValueInfo &VI, GlobalValueSummary *GVS) { in getNodeLabel()
384 const ValueInfo &VI, GlobalValue::GUID Id) { in defineExternalNode()
/third_party/vk-gl-cts/executor/
DxeTestCaseResult.hpp80 class ValueInfo;
465 class ValueInfo : public Item class
476 ValueInfo (void) : Item(TYPE_VALUEINFO), tag(VALUETAG_LAST) {} in ValueInfo() function in xe::ri::ValueInfo
477 ~ValueInfo (void) {} in ~ValueInfo()
DxeTestLogWriter.cpp159 static const char* getSampleValueTagName (ri::ValueInfo::ValueTag tag) in getSampleValueTagName()
163 case ri::ValueInfo::VALUETAG_PREDICTOR: return "Predictor"; in getSampleValueTagName()
164 case ri::ValueInfo::VALUETAG_RESPONSE: return "Response"; in getSampleValueTagName()
467 const ri::ValueInfo& info = static_cast<const ri::ValueInfo&>(item); in writeResultItem()
DxeTestResultParser.cpp189 { 0xddf2d0d1, "Predictor", ri::ValueInfo::VALUETAG_PREDICTOR },
190 { 0x9bee2c34, "Response", ri::ValueInfo::VALUETAG_RESPONSE },
267 static ri::ValueInfo::ValueTag getSampleValueTag (const char* tag) in getSampleValueTag()
269 …return (ri::ValueInfo::ValueTag)getEnumValue("sample value tag", s_sampleValueTagMap, DE_LENGTH_OF… in getSampleValueTag()
689 ri::ValueInfo* valueInfo = sampleInfo->valueInfos.allocItem<ri::ValueInfo>(); in handleElementStart()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp269 static ValueInfo
270 updateValueInfoForIndirectCalls(const ModuleSummaryIndex &Index, ValueInfo VI) { in updateValueInfoForIndirectCalls()
280 return ValueInfo(); in updateValueInfoForIndirectCalls()
309 auto MarkExported = [&](const ValueInfo &VI, const GlobalValueSummary *S) { in computeImportForReferencedGlobals()
373 ValueInfo VI = Edge.first; in computeImportForFunction()
607 static bool isGlobalVarSummary(const ModuleSummaryIndex &Index, ValueInfo VI) { in isGlobalVarSummary()
649 auto IsReadOrWriteOnlyVar = [&](StringRef ModulePath, const ValueInfo &VI) { in checkVariableImport()
793 SmallVector<ValueInfo, 128> Worklist; in computeDeadSymbols()
796 ValueInfo VI = Index.getValueInfo(GUID); in computeDeadSymbols()
816 auto visit = [&](ValueInfo VI, bool IsAliasee) { in computeDeadSymbols()
DWholeProgramDevirt.cpp591 std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap;
598 std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap) in DevirtIndex()
602 bool tryFindVirtualCallTargets(std::vector<ValueInfo> &TargetsForSlot,
606 bool trySingleImplDevirt(MutableArrayRef<ValueInfo> TargetsForSlot,
610 std::set<ValueInfo> &DevirtTargets);
708 std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap) { in runWholeProgramDevirtOnIndex() argument
714 function_ref<bool(StringRef, ValueInfo)> isExported, in updateIndexWPDForExports()
715 std::map<ValueInfo, std::vector<VTableSlotSummary>> &LocalWPDTargetsMap) { in updateIndexWPDForExports() argument
843 std::vector<ValueInfo> &TargetsForSlot, const TypeIdCompatibleVtableInfo TIdInfo, in tryFindVirtualCallTargets()
905 static bool AddCalls(VTableSlotInfo &SlotInfo, const ValueInfo &Callee) { in AddCalls()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp38 const GlobalValue *SGV, ValueInfo VI) { in shouldPromoteLocalToGlobal()
197 ValueInfo VI; in processGlobalForThinLTO()
DPredicateInfo.cpp608 const auto &ValueInfo = getValueInfo(Op); in renameUses() local
612 for (auto &PossibleCopy : ValueInfo.Infos) { in renameUses()
722 PredicateInfo::ValueInfo &PredicateInfo::getOrCreateValueInfo(Value *Operand) { in getOrCreateValueInfo()
735 const PredicateInfo::ValueInfo &
/third_party/vk-gl-cts/framework/common/
DtcuTestLog.hpp101 typedef LogValueInfo ValueInfo; typedef in tcu::TestLog
132 TestLog& operator<< (const ValueInfo& valueInfo);
450 inline TestLog& TestLog::operator<< (const ValueInfo& valueInfo) { valueInfo.write(*this); return … in operator <<()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/
DLLParser.h146 std::map<unsigned, std::vector<std::pair<ValueInfo *, LocTy>>>
150 std::vector<ValueInfo> NumberedValueInfos;
349 bool ParseGVReference(ValueInfo &VI, unsigned &GVId);
373 bool ParseOptionalRefs(std::vector<ValueInfo> &Refs);
/third_party/vk-gl-cts/executor/tools/
DxeExtractSampleLists.cpp56 out << static_cast<const xe::ri::ValueInfo&>(sampleList.sampleInfo.valueInfos.getItem(ndx)).name; in writeSampleList()

12