Home
last modified time | relevance | path

Searched refs:SDI (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp332 static bool hasLocalDefs(BinaryOperator *SDI) { in hasLocalDefs() argument
333 for (Value *O : SDI->operands()) { in hasLocalDefs()
335 if (I && I->getParent() == SDI->getParent()) in hasLocalDefs()
341 static bool hasPositiveOperands(BinaryOperator *SDI, LazyValueInfo *LVI) { in hasPositiveOperands() argument
342 Constant *Zero = ConstantInt::get(SDI->getType(), 0); in hasPositiveOperands()
343 for (Value *O : SDI->operands()) { in hasPositiveOperands()
344 auto Result = LVI->getPredicateAt(ICmpInst::ICMP_SGE, O, Zero, SDI); in hasPositiveOperands()
351 static bool processSRem(BinaryOperator *SDI, LazyValueInfo *LVI) { in processSRem() argument
352 if (SDI->getType()->isVectorTy() || hasLocalDefs(SDI) || in processSRem()
353 !hasPositiveOperands(SDI, LVI)) in processSRem()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp608 static bool hasPositiveOperands(BinaryOperator *SDI, LazyValueInfo *LVI) { in hasPositiveOperands() argument
609 Constant *Zero = ConstantInt::get(SDI->getType(), 0); in hasPositiveOperands()
610 for (Value *O : SDI->operands()) { in hasPositiveOperands()
611 auto Result = LVI->getPredicateAt(ICmpInst::ICMP_SGE, O, Zero, SDI); in hasPositiveOperands()
660 static bool processSRem(BinaryOperator *SDI, LazyValueInfo *LVI) { in processSRem() argument
661 if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) in processSRem()
665 auto *BO = BinaryOperator::CreateURem(SDI->getOperand(0), SDI->getOperand(1), in processSRem()
666 SDI->getName(), SDI); in processSRem()
667 BO->setDebugLoc(SDI->getDebugLoc()); in processSRem()
668 SDI->replaceAllUsesWith(BO); in processSRem()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp716 static bool processSRem(BinaryOperator *SDI, LazyValueInfo *LVI) { in processSRem() argument
717 assert(SDI->getOpcode() == Instruction::SRem); in processSRem()
718 if (SDI->getType()->isVectorTy()) in processSRem()
727 for (const auto I : zip(Ops, SDI->operands())) { in processSRem()
730 Op.D = getDomain(Op.V, LVI, SDI); in processSRem()
743 BinaryOperator::CreateNeg(Op.V, Op.V->getName() + ".nonneg", SDI); in processSRem()
744 BO->setDebugLoc(SDI->getDebugLoc()); in processSRem()
749 BinaryOperator::CreateURem(Ops[0].V, Ops[1].V, SDI->getName(), SDI); in processSRem()
750 URem->setDebugLoc(SDI->getDebugLoc()); in processSRem()
756 Res = BinaryOperator::CreateNeg(Res, Res->getName() + ".neg", SDI); in processSRem()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSubdivisions.java31 static final SupplementalDataInfo SDI = CLDRConfig.getInstance().getSupplementalDataInfo(); field in TestSubdivisions
38 Set<String> containers = SDI.getContainersForSubdivisions(); in TestContainment()
40 Set<String> states = SDI.getContainedSubdivisions("US"); in TestContainment()
51 SDI.getContainedSubdivisions("BE")); in TestContainment()
54 SDI.getContainedSubdivisions("bewal")); in TestContainment()
58 …final Map<String, R2<List<String>, String>> subdivisionAliases = SDI.getLocaleAliasInfo().get("sub… in TestNames()
DTestCoverageLevel.java67 private static final SupplementalDataInfo SDI = testInfo.getSupplementalDataInfo(); field in TestCoverageLevel
78 CoverageLevel2 coverageLevel = CoverageLevel2.getInstance(SDI, "fr"); in testSpecificPaths()
87 int votes = SDI.getRequiredVotes(loc, phf.fromPath(path)); in testSpecificPaths()
172 for (String language : SDI
177 for (String territory : SDI
179 PopulationData pop = SDI
202 for (String language : SDI
208 for (String territory : SDI
210 PopulationData pop = SDI
222 Set<CurrencyDateInfo> cdateInfo = SDI.getCurrencyDateInfo(territory);
[all …]
DTestCLDRLocaleCoverage.java43 private static final SupplementalDataInfo SDI = CLDRCONFIG.getSupplementalDataInfo(); field in TestCLDRLocaleCoverage
104 coverageLocales.addAll(SDI.getCLDRLanguageCodes()); in TestLanguageNameCoverage()
133 for (String region : SDI.getTerritoriesWithPopulationData()) { in getOfficial1M()
134 for (String language : SDI.getLanguagesForTerritoryWithPopulationData(region)) { in getOfficial1M()
135 … PopulationData popData = SDI.getLanguageAndTerritoryPopulationData(language, region); in getOfficial1M()
DTestCompactNumbers.java27 private static final SupplementalDataInfo SDI = CLDRCONFIG.getSupplementalDataInfo(); field in TestCompactNumbers
72 …s = VerifyCompactNumbers.collectSamplesAndSetFormats(currencyCode, locale, SDI, cdf, cdfs, cdfCurr… in TestInternals()
DTestLanguageGroup.java28 static SupplementalDataInfo SDI = CONF.getSupplementalDataInfo(); field in TestLanguageGroup
29 static Multimap<String, String> PARENT_TO_CHILDREN = SDI.getLanguageGroups();
DTestLsrvCanonicalizer.java169 SupplementalDataInfo SDI = SupplementalDataInfo.getInstance(); in TestAgainstLanguageSubtagRegistry() local
170 Map<String, Map<String, R2<List<String>, String>>> aliasInfo = SDI.getLocaleAliasInfo(); in TestAgainstLanguageSubtagRegistry()
DTestUnits.java111 private static final SupplementalDataInfo SDI = info.getSupplementalDataInfo(); field in TestUnits
113 static final UnitConverter converter = SDI.getUnitConverter();
250 PluralInfo pluralInfo = SDI.getPlurals(PluralType.cardinal, locale); in TestCompoundUnit3()
630 Rational.RationalParser parser = SDI.getRationalParser(); in TestRationalParse()
1322 checkBcp47("Usage", SDI.getUnitPreferences().getUsages(), lowercaseAZ09, true); in TestBcp47()
1380 UnitPreferences prefs = SDI.getUnitPreferences(); in TestUnitPreferences()
1824 for (String locale : SDI.hasGrammarInfo()) { in TestGender()
1826 GrammarInfo gi = SDI.getGrammarInfo("fr"); in TestGender()
2029 GrammarInfo gi = SDI.getGrammarInfo(locale); in TestDerivedCase()
2083 GrammarInfo grammarInfo = SDI.getGrammarInfo(localeID); in TestGenderOfCompounds()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DLanguageInfo.java19 static final SupplementalDataInfo SDI = config.getSupplementalDataInfo(); field in LanguageInfo
74 for (String territory : SDI.getTerritoriesWithPopulationData()) {
75 for (String language0 : SDI.getLanguagesForTerritoryWithPopulationData(territory)) {
76 … PopulationData data = SDI.getLanguageAndTerritoryPopulationData(language0, territory);
DLanguageTagParser.java192 …private static SupplementalDataInfo SDI = null; // postpone assignment to avoid re-entrance of Sup… field in LanguageTagParser
350 if (SDI == null) { in getStatus()
351 SDI = SupplementalDataInfo.getInstance(); in getStatus()
353 Map<String, Map<String, R2<List<String>, String>>> aliasInfo = SDI.getLocaleAliasInfo(); in getStatus()
376 String minimized = LikelySubtags.minimize(tag, SDI.getLikelySubtags(), false); in getStatus()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartSubdivisions.java66 Map<String, R2<List<String>, String>> aliases = SDI.getLocaleAliasInfo().get("subdivision"); in writeContents()
75 for (String container : SDI.getContainersForSubdivisions()) { in writeContents()
80 for (String contained : SDI.getContainedSubdivisions(container)) { in writeContents()
84 if (SDI.getContainedSubdivisions(contained) != null) { in writeContents()
DGenerateValidityXml.java52 private static final SupplementalDataInfo SDI = SupplementalDataInfo.getInstance(); field in GenerateValidityXml
88 static Set<String> containment = SDI.getContainers();
199 for (String region : SDI.getCurrencyTerritories()) { in doCurrency()
200 for (CurrencyDateInfo data : SDI.getCurrencyDateInfo(region)) { in doCurrency()
232 Map<String, R2<List<String>, String>> aliases = SDI.getLocaleAliasInfo().get("subdivision"); in doSubdivisions()
233 for (String container : SDI.getContainersForSubdivisions()) { in doSubdivisions()
234 for (String contained : SDI.getContainedSubdivisions(container)) { in doSubdivisions()
266 …Map<String, R2<List<String>, String>> aliases = SDI.getLocaleAliasInfo().get(type == LstrType.regi… in doLstr()
DGenerateLanguageMatches.java23 …private static final SupplementalDataInfo SDI = CLDRConfig.getInstance().getSupplementalDataInfo(); field in GenerateLanguageMatches
35 … List<R4<String, String, Integer, Boolean>> matchData = SDI.getLanguageMatcherData("written_new"); in main()
45 Set<String> languageAliases = SDI.getLocaleAliasInfo().get("language").keySet(); in main()
DGenerateDayPeriods.java25 static final SupplementalDataInfo SDI = SupplementalDataInfo.getInstance(); field in GenerateDayPeriods
37 for (String locale : SDI.getDayPeriodLocales(type)) { in main()
38 DayPeriodInfo dayPeriodInfo = SDI.getDayPeriods(type, locale); in main()
DChartLanguageMatching.java58 for (String type : SDI.getLanguageMatcherKeys()) { in writeContents()
60 List<R4<String, String, Integer, Boolean>> data = SDI.getLanguageMatcherData(type); in writeContents()
DChartDayPeriods.java67 for (String locale : SDI.getDayPeriodLocales(type)) { in writeContents()
73 DayPeriodInfo dayPeriodInfo = SDI.getDayPeriods(Type.selection, locale); in writeContents()
DChartUnitPreferences.java76 UnitConverter converter = SDI.getUnitConverter(); in writeContents()
77 UnitPreferences prefs = SDI.getUnitPreferences(); in writeContents()
DCompareIso3166_1Status.java163 static SupplementalDataInfo SDI = SupplementalDataInfo.getInstance(); field in CompareIso3166_1Status
172 } else if (showMacro && SDI.getContained(regionCode) != null) { in setStatus()
DChartUnitConversions.java76 UnitConverter converter = SDI.getUnitConverter(); in writeContents()
DChart.java23 public static final SupplementalDataInfo SDI = CONFIG.getSupplementalDataInfo(); field in Chart
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLikelySubtags.java28 …private static final SupplementalDataInfo SDI = CLDRConfig.getInstance().getSupplementalDataInfo(); field in XLikelySubtags
29 …private static final Map<String, Map<String, R2<List<String>, String>>> aliasInfo = SDI.getLocaleA…
32 private static final XLikelySubtags DEFAULT = new XLikelySubtags(SDI.getLikelySubtags(), true);
423 SupplementalDataInfo sdi = SDI; in main()
DXLocaleDistance.java56 static final SupplementalDataInfo SDI = CONFIG.getSupplementalDataInfo(); field in XLocaleDistance
59 return SDI.getLanguageMatcherData("written_new"); in xGetLanguageMatcherData()
70 for (String container : SDI.getContainers()) {
71 Set<String> contained = SDI.getContained(container);
80 if (SDI.getContained(contained) == null) {
90 Set<String> contained = SDI.getContained(region); in fill()
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
Dexamples.cpp217 namespace SDI { // PR11558 namespace

123