HomeSort by relevance Sort by last modified time
    Searched refs:KnownOne (Results 1 - 25 of 47) sorted by null

1 2

  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 57 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
60 Value *V = SimplifyDemandedUseBits(&Inst, DemandedMask, KnownZero, KnownOne,
72 APInt &KnownZero, APInt &KnownOne,
76 KnownOne, Depth, UserI);
89 /// returns false after analyzing the expression and setting KnownOne and known
93 /// the expression. KnownOne and KnownZero always follow the invariant that
94 /// KnownOne & KnownZero == 0. That is, a bit can't be both 1 and 0. Note that
95 /// the bits in KnownOne and KnownZero may only be accurate for those bits set
97 /// and KnownOne must all be the same.
105 APInt &KnownZero, APInt &KnownOne,
    [all...]
InstCombineInternal.h 471 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
473 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth, AC, CxtI,
485 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
487 return llvm::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth, AC, CxtI,
516 APInt &KnownOne, unsigned Depth,
519 APInt &KnownOne, unsigned Depth = 0);
524 APInt &KnownOne);
InstCombineCalls.cpp 823 APInt KnownOne(BitWidth, 0);
824 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II);
825 unsigned TrailingZeros = KnownOne.countTrailingZeros();
841 APInt KnownOne(BitWidth, 0);
842 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne, 0, II);
843 unsigned LeadingZeros = KnownOne.countLeadingZeros();
    [all...]
InstructionCombining.cpp     [all...]
InstCombineCompares.cpp 181 const APInt& KnownOne,
183 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
186 "KnownZero, KnownOne and Min, Max must have equal bitwidth.");
187 APInt UnknownBits = ~(KnownZero|KnownOne);
191 Min = KnownOne;
192 Max = KnownOne|UnknownBits;
205 const APInt &KnownOne,
207 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
210 "Ty, KnownZero, KnownOne and Min, Max must have equal bitwidth.");
211 APInt UnknownBits = ~(KnownZero|KnownOne);
    [all...]
InstCombineCasts.cpp 625 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
626 computeKnownBits(ICI->getOperand(0), KnownZero, KnownOne, 0, &CI);
    [all...]
  /external/llvm/include/llvm/CodeGen/
FunctionLoweringInfo.h 123 APInt KnownOne, KnownZero;
124 LiveOutInfo() : NumSignBits(0), IsValid(true), KnownOne(1, 0),
199 const APInt &KnownZero, const APInt &KnownOne) {
201 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0)
207 LOI.KnownOne = KnownOne;
  /external/llvm/lib/Analysis/
ValueTracking.cpp 130 static void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
134 void llvm::computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
138 ::computeKnownBits(V, KnownZero, KnownOne, DL, Depth,
157 static void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
161 void llvm::ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
165 ::ComputeSignBit(V, KnownZero, KnownOne, DL, Depth,
229 APInt &KnownZero, APInt &KnownOne,
291 KnownOne = PossibleSumOne & Known;
303 KnownOne |= APInt::getSignBit(BitWidth);
309 APInt &KnownZero, APInt &KnownOne,
    [all...]
DemandedBits.cpp 73 const APInt &AOut, APInt &AB, APInt &KnownZero, APInt &KnownOne,
87 KnownOne = APInt(BitWidth, 0);
88 computeKnownBits(const_cast<Value *>(V1), KnownZero, KnownOne, DL, 0,
118 std::min(BitWidth, KnownOne.countLeadingZeros()+1));
128 std::min(BitWidth, KnownOne.countTrailingZeros()+1));
218 AB &= ~(KnownOne & ~KnownOne2);
322 APInt KnownZero, KnownOne, KnownZero2, KnownOne2;
339 KnownZero, KnownOne,
Lint.cpp 516 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
517 computeKnownBits(V, KnownZero, KnownOne, DL, 0, AC,
538 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
539 computeKnownBits(Elem, KnownZero, KnownOne, DL);
  /external/llvm/include/llvm/Analysis/
DemandedBits.h 57 APInt &KnownZero, APInt &KnownOne,
ValueTracking.h 38 /// them in the KnownZero/KnownOne bit sets.
45 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
52 /// \p KnownOne the set of bits that are known to be one
54 APInt &KnownZero, APInt &KnownOne);
63 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
  /external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 384 /// analyze the expression and return a mask of KnownOne and KnownZero bits for
390 APInt &KnownOne,
401 KnownZero = KnownOne = APInt(BitWidth, 0);
406 // If not at the root, Just compute the KnownZero/KnownOne bits to
408 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth);
427 KnownOne = cast<ConstantSDNode>(Op)->getAPIntValue();
428 KnownZero = ~KnownOne;
449 KnownOne, TLO, Depth+1))
451 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?");
459 if ((NewMask & ~KnownZero2 & KnownOne) == (~KnownZero2 & NewMask)
    [all...]
FunctionLoweringInfo.cpp 395 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth);
430 DestLOI.KnownOne = Zero;
438 DestLOI.KnownOne = Val;
456 DestLOI.KnownOne.getBitWidth() == BitWidth &&
465 DestLOI.KnownOne = Zero;
473 DestLOI.KnownOne &= Val;
491 DestLOI.KnownOne &= SrcLOI->KnownOne;
SelectionDAG.cpp     [all...]
  /external/mesa3d/src/gallium/drivers/radeon/
AMDGPUISelLowering.h 66 /// KnownZero/KnownOne bitsets.
69 APInt &KnownOne,
AMDILISelLowering.cpp 280 APInt &KnownOne,
286 KnownZero = KnownOne = APInt(KnownOne.getBitWidth(), 0); // Don't know anything
293 KnownOne,
301 assert((KnownZero & KnownOne) == 0
306 KnownOne &= KnownOne2;
  /external/llvm/lib/Target/XCore/
XCoreISelLowering.cpp 417 APInt KnownZero, KnownOne;
418 DAG.computeKnownBits(Value, KnownZero, KnownOne);
    [all...]
XCoreISelLowering.h 204 APInt &KnownOne,
  /external/llvm/lib/Target/SystemZ/
SystemZISelDAGToDAG.cpp 709 APInt KnownZero, KnownOne;
710 CurDAG->computeKnownBits(Op.getOperand(0), KnownZero, KnownOne);
758 APInt KnownZero, KnownOne;
759 CurDAG->computeKnownBits(Input, KnownZero, KnownOne);
782 APInt KnownZero, KnownOne;
783 CurDAG->computeKnownBits(Input, KnownZero, KnownOne);
784 Mask &= ~KnownOne.getZExtValue();
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcISelLowering.h 62 /// KnownZero/KnownOne bitsets.
65 APInt &KnownOne,
  /external/llvm/lib/Target/AMDGPU/
AMDGPUISelLowering.h 189 /// either zero or one and return them in the \p KnownZero and \p KnownOne
193 APInt &KnownOne,
AMDGPUISelLowering.cpp     [all...]
  /external/llvm/lib/Target/AArch64/
AArch64ISelLowering.h 230 /// or one and return them in the KnownZero/KnownOne bitsets.
232 APInt &KnownOne, const SelectionDAG &DAG,
  /external/llvm/lib/Target/ARM/
ARMISelLowering.h 320 APInt &KnownOne,

Completed in 603 milliseconds

1 2