Home
last modified time | relevance | path

Searched refs:Known (Results 1 – 25 of 183) sorted by relevance

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp161 static void computeKnownBits(const Value *V, KnownBits &Known,
164 void llvm::computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() argument
169 ::computeKnownBits(V, Known, Depth, in computeKnownBits()
245 KnownBits Known = computeKnownBits(V, DL, Depth, AC, CxtI, DT); in isKnownNonNegative() local
246 return Known.isNonNegative(); in isKnownNonNegative()
264 KnownBits Known = computeKnownBits(V, DL, Depth, AC, CxtI, DT); in isKnownNegative() local
265 return Known.isNegative(); in isKnownNegative()
316 KnownBits &Known, KnownBits &Known2, in computeKnownBitsMul() argument
318 unsigned BitWidth = Known.getBitWidth(); in computeKnownBitsMul()
319 computeKnownBits(Op1, Known, Depth + 1, Q); in computeKnownBitsMul()
[all …]
DDemandedBits.cpp87 const APInt &AOut, APInt &AB, KnownBits &Known, KnownBits &Known2) { in determineLiveOperandBits() argument
99 Known = KnownBits(BitWidth); in determineLiveOperandBits()
100 computeKnownBits(V1, Known, DL, 0, &AC, UserI, &DT); in determineLiveOperandBits()
132 std::min(BitWidth, Known.countMaxLeadingZeros()+1)); in determineLiveOperandBits()
142 std::min(BitWidth, Known.countMaxTrailingZeros()+1)); in determineLiveOperandBits()
213 AB &= ~(Known.Zero & ~Known2.Zero); in determineLiveOperandBits()
229 AB &= ~(Known.One & ~Known2.One); in determineLiveOperandBits()
327 KnownBits Known, Known2; in performAnalysis() local
344 Known, Known2); in performAnalysis()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp67 KnownBits Known(BitWidth); in SimplifyDemandedInstructionBits() local
70 Value *V = SimplifyDemandedUseBits(&Inst, DemandedMask, Known, in SimplifyDemandedInstructionBits()
83 KnownBits &Known, in SimplifyDemandedBits() argument
86 Value *NewVal = SimplifyDemandedUseBits(U.get(), DemandedMask, Known, in SimplifyDemandedBits()
118 KnownBits &Known, unsigned Depth, in SimplifyDemandedUseBits() argument
126 Known.getBitWidth() == BitWidth && in SimplifyDemandedUseBits()
130 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
134 Known.resetAll(); in SimplifyDemandedUseBits()
143 computeKnownBits(V, Known, Depth, CxtI); in SimplifyDemandedUseBits()
151 return SimplifyMultipleUseDemandedBits(I, DemandedMask, Known, Depth, CxtI); in SimplifyDemandedUseBits()
[all …]
DInstCombineInternal.h634 void computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() argument
636 llvm::computeKnownBits(V, Known, DL, Depth, &AC, CxtI, &DT); in computeKnownBits()
740 Value *SimplifyDemandedUseBits(Value *V, APInt DemandedMask, KnownBits &Known,
743 const APInt &DemandedMask, KnownBits &Known,
751 KnownBits &Known,
758 const APInt &ShlOp1, const APInt &DemandedMask, KnownBits &Known);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DKnownBits.cpp40 APInt Known = std::move(LHSKnownUnion) & RHSKnownUnion & CarryKnownUnion; in computeForAddSub() local
42 assert((PossibleSumZero & Known) == (PossibleSumOne & Known) && in computeForAddSub()
47 KnownOut.Zero = ~std::move(PossibleSumZero) & Known; in computeForAddSub()
48 KnownOut.One = std::move(PossibleSumOne) & Known; in computeForAddSub()
51 if (!Known.isSignBitSet()) { in computeForAddSub()
/external/clang/test/Parser/
Dcxx-template-argument.cpp57 template<class T1, typename T2> struct Known { }; // expected-note 3 {{template is declared here}} struct
68 Known<T1> // expected-error {{too few template arguments for class template 'Known'}}
78 Known<T1> // expected-error {{too few template arguments for class template 'Known'}}
93 Known<T1> // expected-error {{too few template arguments for class template 'Known'}}
108 UnknownBase<Known<int,int>,X<int,int>> // expected-error {{unknown template name 'UnknownBase'}}
115 …UnknownBase<Known<int,int>,X<int,X<int,int>>> // expected-error {{unknown template name 'UnknownBa…
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DValueTrackingTest.cpp285 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST() local
286 ASSERT_FALSE(Known.hasConflict()); in TEST()
287 EXPECT_EQ(Known.One.getZExtValue(), 10u); in TEST()
288 EXPECT_EQ(Known.Zero.getZExtValue(), 4278190085u); in TEST()
311 auto Known = computeKnownBits(RVal, M->getDataLayout()); in TEST() local
312 ASSERT_FALSE(Known.hasConflict()); in TEST()
313 EXPECT_EQ(Known.One.getZExtValue(), 32u); in TEST()
314 EXPECT_EQ(Known.Zero.getZExtValue(), 95u); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2154 KnownBits Known; in MaskedValueIsZero() local
2155 computeKnownBits(Op, Known, Depth); in MaskedValueIsZero()
2156 return Mask.isSubsetOf(Known.Zero); in MaskedValueIsZero()
2198 void SelectionDAG::computeKnownBits(SDValue Op, KnownBits &Known, in computeKnownBits() argument
2204 computeKnownBits(Op, Known, DemandedElts, Depth); in computeKnownBits()
2210 void SelectionDAG::computeKnownBits(SDValue Op, KnownBits &Known, in computeKnownBits() argument
2215 Known = KnownBits(BitWidth); // Don't know anything. in computeKnownBits()
2219 Known.One = C->getAPIntValue(); in computeKnownBits()
2220 Known.Zero = ~Known.One; in computeKnownBits()
2225 Known.One = C->getValueAPF().bitcastToAPInt(); in computeKnownBits()
[all …]
DFunctionLoweringInfo.cpp401 if (BitWidth > LOI->Known.getBitWidth()) { in GetLiveOutRegInfo()
403 LOI->Known = LOI->Known.zextOrTrunc(BitWidth); in GetLiveOutRegInfo()
436 DestLOI.Known = KnownBits(BitWidth); in ComputePHILiveOutRegInfo()
443 DestLOI.Known.Zero = ~Val; in ComputePHILiveOutRegInfo()
444 DestLOI.Known.One = Val; in ComputePHILiveOutRegInfo()
461 assert(DestLOI.Known.Zero.getBitWidth() == BitWidth && in ComputePHILiveOutRegInfo()
462 DestLOI.Known.One.getBitWidth() == BitWidth && in ComputePHILiveOutRegInfo()
469 DestLOI.Known = KnownBits(BitWidth); in ComputePHILiveOutRegInfo()
476 DestLOI.Known.Zero &= ~Val; in ComputePHILiveOutRegInfo()
477 DestLOI.Known.One &= Val; in ComputePHILiveOutRegInfo()
[all …]
DTargetLowering.cpp438 KnownBits Known; in SimplifyDemandedBits() local
440 if (!SimplifyDemandedBits(Op, Demanded, Known, TLO, 0, true)) in SimplifyDemandedBits()
488 KnownBits Known; in SimplifyDemandedBits() local
490 bool Simplified = SimplifyDemandedBits(Op, DemandedMask, Known, TLO); in SimplifyDemandedBits()
505 KnownBits &Known, in SimplifyDemandedBits() argument
517 Known = KnownBits(BitWidth); in SimplifyDemandedBits()
521 Known.One = cast<ConstantSDNode>(Op)->getAPIntValue(); in SimplifyDemandedBits()
522 Known.Zero = ~Known.One; in SimplifyDemandedBits()
532 TLO.DAG.computeKnownBits(Op, Known, Depth); in SimplifyDemandedBits()
551 Known.Zero.setAllBits(); Known.One.setAllBits(); in SimplifyDemandedBits()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h198 KnownBits Known = 1; member
274 const KnownBits &Known) { in AddLiveOutRegInfo() argument
276 if (NumSignBits == 1 && Known.isUnknown()) in AddLiveOutRegInfo()
282 LOI.Known.One = Known.One; in AddLiveOutRegInfo()
283 LOI.Known.Zero = Known.Zero; in AddLiveOutRegInfo()
/external/clang/lib/Frontend/
DLayoutOverrideSource.cpp167 llvm::StringMap<Layout>::iterator Known = Layouts.find(Record->getName()); in layoutRecordType() local
168 if (Known == Layouts.end()) in layoutRecordType()
176 if (NumFields >= Known->second.FieldOffsets.size()) in layoutRecordType()
179 FieldOffsets[*F] = Known->second.FieldOffsets[NumFields]; in layoutRecordType()
183 if (NumFields != Known->second.FieldOffsets.size()) in layoutRecordType()
186 Size = Known->second.Size; in layoutRecordType()
187 Alignment = Known->second.Align; in layoutRecordType()
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp280 llvm::DenseMap<ModuleFile *, unsigned>::iterator Known in getModuleDependencies() local
282 if (Known == ModulesByFile.end()) in getModuleDependencies()
287 ArrayRef<unsigned> StoredDependencies = Modules[Known->second].Dependencies; in getModuleDependencies()
305 IdentifierIndexTable::iterator Known = Table.find(Name); in lookupIdentifier() local
306 if (Known == Table.end()) { in lookupIdentifier()
310 SmallVector<unsigned, 2> ModuleIDs = *Known; in lookupIdentifier()
323 llvm::StringMap<unsigned>::iterator Known = UnresolvedModules.find(Name); in loadedModuleFile() local
324 if (Known == UnresolvedModules.end()) { in loadedModuleFile()
329 ModuleInfo &Info = Modules[Known->second]; in loadedModuleFile()
337 ModulesByFile[File] = Known->second; in loadedModuleFile()
[all …]
DModuleManager.cpp41 llvm::DenseMap<const FileEntry *, ModuleFile *>::iterator Known in lookup() local
43 if (Known == Modules.end()) in lookup()
46 return Known->second; in lookup()
/external/guice/
D.gitattributes4 # Known text files
12 # Known binary files
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp406 KnownBits Known; in isWordAligned() local
407 DAG.computeKnownBits(Value, Known); in isWordAligned()
408 return Known.countMinTrailingZeros() >= 2; in isWordAligned()
1600 KnownBits Known; in PerformDAGCombine() local
1605 TLI.SimplifyDemandedBits(OutVal, DemandedMask, Known, TLO)) in PerformDAGCombine()
1616 KnownBits Known; in PerformDAGCombine() local
1621 TLI.SimplifyDemandedBits(Time, DemandedMask, Known, TLO)) in PerformDAGCombine()
1652 KnownBits Known; in PerformDAGCombine() local
1655 DAG.computeKnownBits(N2, Known); in PerformDAGCombine()
1656 if ((Known.Zero & Mask) == Mask) { in PerformDAGCombine()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dicmp-shl-nsw.ll72 ; Known bits analysis turns this into an equality predicate.
147 ; Known bits analysis turns this into an equality predicate.
161 ; Known bits analysis turns this into an equality predicate.
205 ; Known bits analysis returns false for compares with >=0.
213 ; Known bits analysis turns this into an equality predicate.
288 ; Known bits analysis turns this into an equality predicate.
302 ; Known bits analysis turns this into an equality predicate.
/external/clang/lib/Lex/
DModuleMap.cpp165 HeadersMap::iterator Known = Headers.find(File); in findKnownHeader() local
167 Known == Headers.end() && File->getDir() == BuiltinIncludeDir && in findKnownHeader()
172 return Known; in findKnownHeader()
254 HeadersMap::iterator Known = findKnownHeader(File); in diagnoseHeaderInclusion() local
255 if (Known != Headers.end()) { in diagnoseHeaderInclusion()
256 for (const KnownHeader &Header : Known->second) { in diagnoseHeaderInclusion()
335 HeadersMap::iterator Known = findKnownHeader(File); in findModuleForHeader() local
336 if (Known != Headers.end()) { in findModuleForHeader()
339 for (KnownHeader &H : Known->second) { in findModuleForHeader()
439 HeadersMap::const_iterator Known = Headers.find(Header); in isHeaderUnavailableInModule() local
[all …]
/external/epid-sdk/
DCHANGELOG.md15 ### Known Issues
61 ### Known Issues
108 ### Known Issues
173 ### Known Issues
217 ### Known Issues
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp241 KnownBits Known(LongLen); in getValueRange() local
243 computeKnownBits(V, Known, DL); in getValueRange()
245 if (Known.countMinLeadingZeros() >= HiBits) in getValueRange()
248 if (Known.countMaxLeadingZeros() < HiBits) in getValueRange()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
Dknown_gcc_test_failures.txt4 # 'exclusion'. Known failures are expected to fail, and will cause an error if
5 # they pass. (Known failures that do not run at all will not cause an
/external/antlr/runtime/C/doxygen/
Dknownissues.dox1 /// \page knownissues Known Issues
/external/llvm/test/MC/AArch64/
Darm64-directive_loh.s12 # Known LOHs with:
56 # End Known LOHs.
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/
Darm64-directive_loh.s14 # Known LOHs with:
60 # End Known LOHs.
/external/swiftshader/third_party/LLVM/lib/Analysis/IPA/
DGlobalsModRef.cpp549 unsigned Known = ModRef; in getModRefInfo() local
559 Known = FR->getInfoForGlobal(GV); in getModRefInfo()
561 if (Known == NoModRef) in getModRefInfo()
563 return ModRefResult(Known & AliasAnalysis::getModRefInfo(CS, Loc)); in getModRefInfo()

12345678