/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | KnownBits.h | 23 struct KnownBits { struct 29 KnownBits(APInt Zero, APInt One) in KnownBits() function 34 KnownBits() {} in KnownBits() function 37 KnownBits(unsigned BitWidth) : Zero(BitWidth, 0), One(BitWidth, 0) {} in KnownBits() argument 113 KnownBits trunc(unsigned BitWidth) { in trunc() argument 114 return KnownBits(Zero.trunc(BitWidth), One.trunc(BitWidth)); in trunc() 119 KnownBits zext(unsigned BitWidth) { in zext() argument 120 return KnownBits(Zero.zext(BitWidth), One.zext(BitWidth)); in zext() 125 KnownBits sext(unsigned BitWidth) { in sext() argument 126 return KnownBits(Zero.sext(BitWidth), One.sext(BitWidth)); in sext() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMBasicBlockInfo.h | 29 inline unsigned UnknownPadding(unsigned LogAlign, unsigned KnownBits) { in UnknownPadding() argument 30 if (KnownBits < LogAlign) in UnknownPadding() 31 return (1u << LogAlign) - (1u << KnownBits); in UnknownPadding() 58 uint8_t KnownBits = 0; member 76 unsigned Bits = Unalign ? Unalign : KnownBits; in internalKnownBits()
|
D | ARMConstantIslandPass.cpp | 331 << " kb=" << unsigned(BBI.KnownBits) in dumpBBs() 691 BBInfo.front().KnownBits = MF->getAlignment(); in initializeFunctionInfo() 984 unsigned KnownBits = BBI.internalKnownBits(); in getUserOffset() local 991 U.KnownAlignment = (KnownBits >= 2); in getUserOffset() 1114 unsigned KnownBits = BBInfo[i - 1].postKnownBits(LogAlign); in adjustBBOffsetsAfter() local 1121 BBInfo[i].KnownBits == KnownBits) in adjustBBOffsetsAfter() 1125 BBInfo[i].KnownBits = KnownBits; in adjustBBOffsetsAfter() 1354 unsigned KnownBits = UserBBI.internalKnownBits(); in createNewWater() local 1355 unsigned UPad = UnknownPadding(LogAlign, KnownBits); in createNewWater() 1366 << " la=" << LogAlign << " kb=" << KnownBits in createNewWater()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | KnownBits.cpp | 19 KnownBits KnownBits::computeForAddSub(bool Add, bool NSW, in computeForAddSub() 20 const KnownBits &LHS, KnownBits RHS) { in computeForAddSub() 46 KnownBits KnownOut; in computeForAddSub()
|
D | CMakeLists.txt | 87 KnownBits.cpp
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 161 static void computeKnownBits(const Value *V, KnownBits &Known, 164 void llvm::computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() 173 static KnownBits computeKnownBits(const Value *V, unsigned Depth, 176 KnownBits llvm::computeKnownBits(const Value *V, const DataLayout &DL, in computeKnownBits() 202 KnownBits LHSKnown(IT->getBitWidth()); in haveNoCommonBitsSet() 203 KnownBits RHSKnown(IT->getBitWidth()); in haveNoCommonBitsSet() 245 KnownBits Known = computeKnownBits(V, DL, Depth, AC, CxtI, DT); in isKnownNonNegative() 264 KnownBits Known = computeKnownBits(V, DL, Depth, AC, CxtI, DT); in isKnownNegative() 302 KnownBits &KnownOut, KnownBits &Known2, in computeKnownBitsAddSub() 308 KnownBits LHSKnown(BitWidth); in computeKnownBitsAddSub() [all …]
|
D | DemandedBits.cpp | 87 const APInt &AOut, APInt &AB, KnownBits &Known, KnownBits &Known2) { in determineLiveOperandBits() 99 Known = KnownBits(BitWidth); in determineLiveOperandBits() 103 Known2 = KnownBits(BitWidth); in determineLiveOperandBits() 327 KnownBits Known, Known2; in performAnalysis()
|
D | InstructionSimplify.cpp | 737 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifySubInst() 1244 KnownBits Known = computeKnownBits(Op1, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyShift() 1276 KnownBits Op0Known = computeKnownBits(Op0, Q.DL, /*Depth=*/0, Q.AC, Q.CxtI, Q.DT); in SimplifyRightShift() 1338 const KnownBits YKnown = computeKnownBits(Y, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyLShrInst() 1883 const KnownBits YKnown = computeKnownBits(Y, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in SimplifyAndInst() 1886 const KnownBits XKnown = computeKnownBits(X, Q.DL, 0, Q.AC, Q.CxtI, in SimplifyAndInst() 2425 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero() 2433 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero() 2442 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero() 2450 KnownBits LHSKnown = computeKnownBits(LHS, Q.DL, 0, Q.AC, Q.CxtI, Q.DT); in simplifyICmpWithZero() [all …]
|
D | Lint.cpp | 554 KnownBits Known = computeKnownBits(V, DL, 0, AC, dyn_cast<Instruction>(V), DT); in isZero() 573 KnownBits Known = computeKnownBits(Elem, DL); in isZero()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | DemandedBits.h | 38 struct KnownBits; 59 KnownBits &Known, KnownBits &Known2);
|
D | ValueTracking.h | 36 struct KnownBits; 53 void computeKnownBits(const Value *V, KnownBits &Known, 61 KnownBits computeKnownBits(const Value *V, const DataLayout &DL, 71 KnownBits &Known);
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZLongBranch.cpp | 124 unsigned KnownBits; member 127 : Address(0), KnownBits(InitialAlignment) {} in BlockPosition() 181 if (Block.Alignment > Position.KnownBits) { in skipNonTerminators() 185 (uint64_t(1) << Position.KnownBits)); in skipNonTerminators() 186 Position.KnownBits = Block.Alignment; in skipNonTerminators()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZLongBranch.cpp | 129 unsigned KnownBits; member 131 BlockPosition(unsigned InitialAlignment) : KnownBits(InitialAlignment) {} in BlockPosition() 182 if (Block.Alignment > Position.KnownBits) { in skipNonTerminators() 186 (uint64_t(1) << Position.KnownBits)); in skipNonTerminators() 187 Position.KnownBits = Block.Alignment; in skipNonTerminators()
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 67 static inline unsigned UnknownPadding(unsigned LogAlign, unsigned KnownBits) { in UnknownPadding() argument 68 if (KnownBits < LogAlign) in UnknownPadding() 69 return (1u << LogAlign) - (1u << KnownBits); in UnknownPadding() 109 uint8_t KnownBits; member 121 BasicBlockInfo() : Offset(0), Size(0), KnownBits(0), Unalign(0), in BasicBlockInfo() 128 unsigned Bits = Unalign ? Unalign : KnownBits; in internalKnownBits() 384 << " kb=" << unsigned(BBI.KnownBits) in dumpBBs() 749 BBInfo.front().KnownBits = MF->getAlignment(); in initializeFunctionInfo() 1055 unsigned KnownBits = BBI.internalKnownBits(); in getUserOffset() local 1062 U.KnownAlignment = (KnownBits >= 2); in getUserOffset() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/ |
D | knownbits.ll | 20 ; The vector icmp+zext involves a REPLICATE of 1's. If KnownBits reflects 29 ; The DAG XOR has JOIN_DWORDS and REPLICATE operands. With KnownBits properly set
|
D | dag-combine-03.ll | 19 ; value. Test that the BITCAST nodes in the DAG when computing KnownBits is
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 67 KnownBits Known(BitWidth); in SimplifyDemandedInstructionBits() 83 KnownBits &Known, in SimplifyDemandedBits() 118 KnownBits &Known, unsigned Depth, in SimplifyDemandedUseBits() 153 KnownBits LHSKnown(BitWidth), RHSKnown(BitWidth); in SimplifyDemandedUseBits() 344 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits() 386 KnownBits InputKnown(SrcBitWidth); in SimplifyDemandedUseBits() 441 Known = KnownBits::computeForAddSub(I->getOpcode() == Instruction::Add, in SimplifyDemandedUseBits() 625 KnownBits Known2(BitWidth); in SimplifyDemandedUseBits() 720 KnownBits &Known, in SimplifyMultipleUseDemandedBits() 726 KnownBits LHSKnown(BitWidth); in SimplifyMultipleUseDemandedBits() [all …]
|
D | InstCombineInternal.h | 634 void computeKnownBits(const Value *V, KnownBits &Known, in computeKnownBits() 639 KnownBits computeKnownBits(const Value *V, unsigned Depth, 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);
|
D | InstCombineCasts.cpp | 850 KnownBits Known = computeKnownBits(ICI->getOperand(0), 0, &CI); in transformZExtICmp() 895 KnownBits KnownLHS = computeKnownBits(LHS, 0, &CI); in transformZExtICmp() 896 KnownBits KnownRHS = computeKnownBits(RHS, 0, &CI); in transformZExtICmp() 899 APInt KnownBits = KnownLHS.Zero | KnownLHS.One; in transformZExtICmp() local 900 APInt UnknownBit = ~KnownBits; in transformZExtICmp() 1219 KnownBits Known = computeKnownBits(Op0, 0, &CI); in transformSExtICmp() 1340 KnownBits Known = computeKnownBits(Src, 0, &CI); in visitSExt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | FunctionLoweringInfo.h | 198 KnownBits Known = 1; 274 const KnownBits &Known) { in AddLiveOutRegInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/ |
D | LanaiISelLowering.h | 108 void computeKnownBitsForTargetNode(const SDValue Op, KnownBits &Known,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 436 DestLOI.Known = KnownBits(BitWidth); in ComputePHILiveOutRegInfo() 469 DestLOI.Known = KnownBits(BitWidth); in ComputePHILiveOutRegInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.h | 204 KnownBits &Known,
|
D | XCoreISelLowering.cpp | 406 KnownBits Known; in isWordAligned() 1600 KnownBits Known; in PerformDAGCombine() 1616 KnownBits Known; in PerformDAGCombine() 1652 KnownBits Known; in PerformDAGCombine() 1675 KnownBits Known; in PerformDAGCombine() 1691 KnownBits Known; in PerformDAGCombine() 1819 KnownBits &Known, in computeKnownBitsForTargetNode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.h | 69 KnownBits &Known,
|