Home
last modified time | relevance | path

Searched defs:Known (Results 1 – 25 of 103) sorted by relevance

12345

/llvm-project/llvm/include/llvm/Analysis/
H A DWithCache.h44 mutable KnownBits Known; variable
53 WithCache(PointerType Pointer, const KnownBits &Known) in WithCache()
H A DValueTracking.h547 KnownFPClass Known = computeKnownFPClass(V, fcNegZero, Depth, SQ); cannotBeNegativeZero() local
561 KnownFPClass Known = cannotBeOrderedLessThanZero() local
571 KnownFPClass Known = computeKnownFPClass(V, fcInf, Depth, SQ); isKnownNeverInfinity() local
578 KnownFPClass Known = computeKnownFPClass(V, fcInf | fcNan, Depth, SQ); isKnownNeverInfOrNaN() local
587 KnownFPClass Known = computeKnownFPClass(V, fcNan, Depth, SQ); isKnownNeverNaN() local
596 KnownFPClass Known = computeKnownFPClass(V, fcAllFlags, Depth, SQ); computeKnownFPSignBit() local
[all...]
/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp289 KnownBits Known; in shl() local
35 APInt Known = std::move(LHSKnownUnion) & RHSKnownUnion & CarryKnownUnion; computeForAddCarry() local
310 KnownBits Known(BitWidth); shl() local
374 KnownBits Known = LHS; lshr() local
383 KnownBits Known(BitWidth); lshr() local
432 KnownBits Known = LHS; ashr() local
439 KnownBits Known(BitWidth); ashr() local
910 divComputeLowBit(KnownBits Known,const KnownBits & LHS,const KnownBits & RHS,bool Exact) divComputeLowBit() argument
953 KnownBits Known(BitWidth); sdiv() local
1005 KnownBits Known(BitWidth); udiv() local
1043 KnownBits Known = remGetLowBits(LHS, RHS); urem() local
1060 KnownBits Known = remGetLowBits(LHS, RHS); srem() local
1111 KnownBits Known(Zero, APInt(BitWidth, 0)); blsi() local
1122 KnownBits Known(BitWidth); blsmsk() local
[all...]
/llvm-project/llvm/unittests/Support/
H A DKnownBitsTest.cpp58 ForeachKnownBits(Bits, [&](const KnownBits &Known) { in testUnaryOpExhaustive() argument
263 KnownBits Known(2); in TEST() local
527 __anon4d9a4a0a4002(const KnownBits &Known) TEST() argument
531 __anon4d9a4a0a4202(const KnownBits &Known) TEST() argument
539 __anon4d9a4a0a4402(const KnownBits &Known) TEST() argument
542 __anon4d9a4a0a4602(const KnownBits &Known) TEST() argument
547 __anon4d9a4a0a4802(const KnownBits &Known) TEST() argument
659 __anon4d9a4a0a4e02(const KnownBits &Known) TEST() argument
675 __anon4d9a4a0a5002(const KnownBits &Known) TEST() argument
691 __anon4d9a4a0a5202(const KnownBits &Known) TEST() argument
704 __anon4d9a4a0a5402(const KnownBits &Known) TEST() argument
746 __anon4d9a4a0a5702(const KnownBits &Known) TEST() argument
[all...]
H A DKnownBitsTest.h35 void ForeachNumInKnownBits(const KnownBits &Known, FnTy Fn) { in ForeachNumInKnownBits()
/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp82 computeKnownBitsImpl(R, Known, DemandedElts, Depth); in getKnownBits() local
101 dumpResult(const MachineInstr & MI,const KnownBits & Known,unsigned Depth) dumpResult() argument
113 computeKnownBitsMin(Register Src0,Register Src1,KnownBits & Known,const APInt & DemandedElts,unsigned Depth) computeKnownBitsMin() argument
144 computeKnownBitsImpl(Register R,KnownBits & Known,const APInt & DemandedElts,unsigned Depth) computeKnownBitsImpl() argument
823 KnownBits Known = getKnownBits(R, DemandedElts, Depth); computeNumSignBits() local
[all...]
/llvm-project/llvm/unittests/CodeGen/
H A DAArch64SelectionDAGTest.cpp99 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); TEST_F() local
112 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); TEST_F() local
129 KnownBits Known = DAG->computeKnownBits(Op, DemandedElts); TEST_F() local
207 KnownBits Known; TEST_F() local
234 KnownBits Known; TEST_F() local
255 KnownBits Known = DAG->computeKnownBits(Op); TEST_F() local
271 KnownBits Known; TEST_F() local
327 KnownBits Known = DAG->computeKnownBits(Op); TEST_F() local
344 KnownBits Known; TEST_F() local
750 KnownBits Known = DAG->computeKnownBits(ALoad); TEST_F() local
783 KnownBits Known = DAG->computeKnownBits(ALoad); TEST_F() local
[all...]
/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp56 determineLiveOperandBits(const Instruction * UserI,const Value * Val,unsigned OperandNo,const APInt & AOut,APInt & AB,KnownBits & Known,KnownBits & Known2,bool & KnownBitsComputed) determineLiveOperandBits() argument
352 KnownBits Known, Known2; performAnalysis() local
429 KnownBits Known, Known2; getDemandedBits() local
[all...]
H A DValueTracking.cpp154 computeKnownBits(const Value * V,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownBits() argument
165 computeKnownBits(const Value * V,KnownBits & Known,const DataLayout & DL,unsigned Depth,AssumptionCache * AC,const Instruction * CxtI,const DominatorTree * DT,bool UseInstrInfo) computeKnownBits() argument
296 KnownBits Known = computeKnownBits(V, Depth, SQ); isKnownPositive() local
320 KnownBits Known(Mask.getBitWidth()); MaskedValueIsZero() local
369 computeKnownBitsMul(const Value * Op0,const Value * Op1,bool NSW,const APInt & DemandedElts,KnownBits & Known,KnownBits & Known2,unsigned Depth,const SimplifyQuery & Q) computeKnownBitsMul() argument
418 computeKnownBitsFromRangeMetadata(const MDNode & Ranges,KnownBits & Known) computeKnownBitsFromRangeMetadata() argument
620 computeKnownBitsFromCmp(const Value * V,CmpInst::Predicate Pred,Value * LHS,Value * RHS,KnownBits & Known,const SimplifyQuery & Q) computeKnownBitsFromCmp() argument
732 computeKnownBitsFromICmpCond(const Value * V,ICmpInst * Cmp,KnownBits & Known,const SimplifyQuery & SQ,bool Invert) computeKnownBitsFromICmpCond() argument
751 computeKnownBitsFromCond(const Value * V,Value * Cond,KnownBits & Known,unsigned Depth,const SimplifyQuery & SQ,bool Invert) computeKnownBitsFromCond() argument
772 computeKnownBitsFromContext(const Value * V,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownBitsFromContext() argument
877 computeKnownBitsFromShiftOperator(const Operator * I,const APInt & DemandedElts,KnownBits & Known,KnownBits & Known2,unsigned Depth,const SimplifyQuery & Q,function_ref<KnownBits (const KnownBits &,const KnownBits &,bool)> KF) computeKnownBitsFromShiftOperator() argument
995 adjustKnownBitsForSelectArm(KnownBits & Known,Value * Cond,Value * Arm,bool Invert,unsigned Depth,const SimplifyQuery & Q) adjustKnownBitsForSelectArm() argument
1031 computeKnownBitsFromOperator(const Operator * I,const APInt & DemandedElts,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownBitsFromOperator() argument
1912 KnownBits Known(getBitWidth(V->getType(), Q.DL)); computeKnownBits() local
1921 KnownBits Known(getBitWidth(V->getType(), Q.DL)); computeKnownBits() local
1942 computeKnownBits(const Value * V,const APInt & DemandedElts,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownBits() argument
2764 KnownBits Known(BitWidth); isKnownNonZeroFromOperator() local
2780 KnownBits Known = isKnownNonZeroFromOperator() local
3115 KnownBits Known(BitWidth); isKnownNonZeroFromOperator() local
3821 KnownBits Known(TyBits); ComputeNumSignBitsImpl() local
3846 KnownBits Known(TyBits); ComputeNumSignBitsImpl() local
3985 KnownBits Known(TyBits); ComputeNumSignBitsImpl() local
4731 computeKnownFPClass(const Value * V,KnownFPClass & Known,FPClassTest InterestedClasses,unsigned Depth,const SimplifyQuery & Q) computeKnownFPClass() argument
4743 computeKnownFPClassForFPTrunc(const Operator * Op,const APInt & DemandedElts,FPClassTest InterestedClasses,KnownFPClass & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownFPClassForFPTrunc() argument
4764 computeKnownFPClass(const Value * V,const APInt & DemandedElts,FPClassTest InterestedClasses,KnownFPClass & Known,unsigned Depth,const SimplifyQuery & Q) computeKnownFPClass() argument
5828 KnownFPClass Known; computeKnownFPClass() local
[all...]
H A DLint.cpp536 KnownBits Known = isZero() local
557 KnownBits Known = computeKnownBits(Elem, DL); isZero() local
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp69 SimplifyDemandedInstructionBits(Instruction & Inst,KnownBits & Known) SimplifyDemandedInstructionBits() argument
82 KnownBits Known(getBitWidth(Inst.getType(), DL)); SimplifyDemandedInstructionBits() local
91 SimplifyDemandedBits(Instruction * I,unsigned OpNo,const APInt & DemandedMask,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) SimplifyDemandedBits() argument
159 SimplifyDemandedUseBits(Instruction * I,const APInt & DemandedMask,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) SimplifyDemandedUseBits() argument
1145 SimplifyMultipleUseDemandedBits(Instruction * I,const APInt & DemandedMask,KnownBits & Known,unsigned Depth,const SimplifyQuery & Q) SimplifyMultipleUseDemandedBits() argument
1324 simplifyShrShlDemandedBits(Instruction * Shr,const APInt & ShrOp1,Instruction * Shl,const APInt & ShlOp1,const APInt & DemandedMask,KnownBits & Known) simplifyShrShlDemandedBits() argument
1963 SimplifyDemandedUseFPClass(Value * V,const FPClassTest DemandedMask,KnownFPClass & Known,unsigned Depth,Instruction * CxtI) SimplifyDemandedUseFPClass() argument
2065 SimplifyDemandedFPClass(Instruction * I,unsigned OpNo,FPClassTest DemandedMask,KnownFPClass & Known,unsigned Depth) SimplifyDemandedFPClass() argument
[all...]
H A DInstCombineCalls.cpp590 KnownBits Known = IC.computeKnownBits(Op0, 0, &II); foldCttzCtlz() local
673 KnownBits Known(BitWidth); foldCtpop() local
1024 KnownFPClass Known = computeKnownFPClass(Src0, Mask, &II); foldIntrinsicIsFPClass() local
1045 KnownBits Known = computeKnownBits(Op, /*Depth=*/0, SQ); getKnownSign() local
1624 if (std::optional<bool> Known = visitCallInst() local
1902 KnownBits Known = computeKnownBits(IIOperand, 0, II); visitCallInst() local
2067 KnownBits Known(BitWidth); visitCallInst() local
3108 KnownBits Known(1); visitCallInst() local
[all...]
/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelKnownBits.h86 static void computeKnownBitsForAlignment(KnownBits &Known, in computeKnownBitsForAlignment()
/llvm-project/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h166 KnownBits Known = 1; member
242 AddLiveOutRegInfo(Register Reg,unsigned NumSignBits,const KnownBits & Known) AddLiveOutRegInfo() argument
/llvm-project/clang/lib/APINotes/
H A DAPINotesReader.cpp716 auto Known = IdentifierTable->find(Str); getIdentifier() local
739 auto Known = ObjCSelectorTable->find(Key); getSelector() local
1896 auto Known = Implementation->ObjCPropertyTable->find( lookupObjCProperty() local
1914 auto Known = Implementation->ObjCMethodTable->find( lookupObjCMethod() local
1935 auto Known = Implementation->GlobalVariableTable->find(Key); lookupGlobalVariable() local
1954 auto Known = Implementation->GlobalFunctionTable->find(Key); lookupGlobalFunction() local
1970 auto Known = Implementation->EnumConstantTable->find(*NameID); lookupEnumConstant() local
1988 auto Known = Implementation->TagTable->find(Key); lookupTag() local
2007 auto Known = Implementation->TypedefTable->find(Key); lookupTypedef() local
[all...]
/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAlignment.cpp73 KnownBits Known = computeKnownBits(PtrOp, DL, 0, &AC, &I, &DT); inferAlignment() local
/llvm-project/clang/test/Parser/
H A Dcxx-template-argument.cpp60 template<class T1, typename T2> struct Known { }; // expected-note 3 {{template is declared here}} struct
/llvm-project/llvm/unittests/Analysis/
H A DValueTrackingTest.cpp110 auto Known = computeKnownBits(A, M->getDataLayout()); in expectKnownBits() local
124 KnownFPClass Known = computeKnownFPClass(TestVal, M->getDataLayout()); in expectKnownFPClass() local
2399 KnownBits Known = computeKnownBits( in TEST_F() local
2417 KnownBits Known in TEST_F() local
2434 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, TEST_F() local
2464 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, TEST_F() local
2488 KnownBits Known = computeKnownBits(CI, M.getDataLayout(), /* Depth */ 0); TEST_F() local
2519 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, TEST_F() local
2546 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, TEST_F() local
2579 KnownBits Known = computeKnownBits(A, M->getDataLayout(), /* Depth */ 0, &AC, TEST_F() local
[all...]
/llvm-project/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp203 llvm::StringMap<Layout>::iterator Known = Layouts.find(Record->getName()); in layoutRecordType() local
/llvm-project/clang/lib/Serialization/
H A DGlobalModuleIndex.cpp287 llvm::DenseMap<ModuleFile *, unsigned>::iterator Known in getModuleDependencies() local
312 IdentifierIndexTable::iterator Known = Table.find(Name); in lookupIdentifier() local
330 llvm::StringMap<unsigned>::iterator Known = UnresolvedModules.find(Name); in loadedModuleFile() local
433 auto Known = ModuleFiles.find(File); getModuleFileInfo() local
[all...]
/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp398 KnownBits Known = DAG.computeKnownBits(Value); in isWordAligned() local
1563 if ((Known.Zero & Mask) == Mask) { in PerformDAGCombine() local
1585 if ((Known in PerformDAGCombine() local
1509 KnownBits Known; PerformDAGCombine() local
1525 KnownBits Known; PerformDAGCombine() local
1600 KnownBits Known = DAG.computeKnownBits(N2); PerformDAGCombine() local
1719 computeKnownBitsForTargetNode(const SDValue Op,KnownBits & Known,const APInt & DemandedElts,const SelectionDAG & DAG,unsigned Depth) const computeKnownBitsForTargetNode() argument
[all...]
/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h431 computeKnownBits(const Value * V,KnownBits & Known,unsigned Depth,const Instruction * CxtI) computeKnownBits() argument
510 SimplifyDemandedBits(Instruction * I,unsigned OpNo,const APInt & DemandedMask,KnownBits & Known) SimplifyDemandedBits() argument
/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp429 HeadersMap::iterator Known = Headers.find(File); findKnownHeader() local
514 HeadersMap::iterator Known = findKnownHeader(File); diagnoseHeaderInclusion() local
615 HeadersMap::iterator Known = findKnownHeader(File); findModuleForHeader() local
708 HeadersMap::iterator Known = findKnownHeader(File); findAllModulesForHeader() local
735 HeadersMap::const_iterator Known = Headers.find(Header); isHeaderUnavailableInModule() local
827 llvm::StringMap<Module *>::const_iterator Known = Modules.find(Name); findModule() local
3124 llvm::DenseMap<const FileEntry *, bool>::iterator Known parseModuleMapFile() local
[all...]
/llvm-project/compiler-rt/lib/xray/tests/unit/
H A Dbuffer_queue_test.cpp65 BufferQueue::Buffer Known; in TEST() local
/llvm-project/polly/unittests/DeLICM/
H A DDeLICMTest.cpp36 isl::union_set &Occupied, isl::union_map &Known, in completeLifetime()

12345