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

1 2

  /external/llvm/include/llvm/CodeGen/
FunctionLoweringInfo.h 104 APInt KnownOne, KnownZero;
105 LiveOutInfo() : NumSignBits(0), IsValid(true), KnownOne(1, 0),
174 const APInt &KnownZero, const APInt &KnownOne) {
176 if (NumSignBits == 1 && KnownZero == 0 && KnownOne == 0)
182 LOI.KnownOne = KnownOne;
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp 56 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
60 KnownZero, KnownOne, 0);
71 APInt &KnownZero, APInt &KnownOne,
74 KnownZero, KnownOne, Depth);
87 /// returns false after analyzing the expression and setting KnownOne and known
91 /// the expression. KnownOne and KnownZero always follow the invariant that
92 /// KnownOne & KnownZero == 0. That is, a bit can't be both 1 and 0. Note that
93 /// the bits in KnownOne and KnownZero may only be accurate for those bits set
95 /// and KnownOne must all be the same.
103 APInt &KnownZero, APInt &KnownOne,
    [all...]
InstCombine.h 318 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
320 return llvm::computeKnownBits(V, KnownZero, KnownOne, DL, Depth);
346 APInt &KnownOne, unsigned Depth);
348 APInt &KnownOne, unsigned Depth = 0);
353 APInt &KnownOne);
InstCombineCompares.cpp 171 const APInt& KnownOne,
173 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
176 "KnownZero, KnownOne and Min, Max must have equal bitwidth.");
177 APInt UnknownBits = ~(KnownZero|KnownOne);
181 Min = KnownOne;
182 Max = KnownOne|UnknownBits;
195 const APInt &KnownOne,
197 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
200 "Ty, KnownZero, KnownOne and Min, Max must have equal bitwidth.");
201 APInt UnknownBits = ~(KnownZero|KnownOne);
    [all...]
InstCombineCalls.cpp 324 APInt KnownOne(BitWidth, 0);
325 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne);
326 unsigned TrailingZeros = KnownOne.countTrailingZeros();
342 APInt KnownOne(BitWidth, 0);
343 computeKnownBits(II->getArgOperand(0), KnownZero, KnownOne);
344 unsigned LeadingZeros = KnownOne.countLeadingZeros();
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp 49 APInt &KnownZero, APInt &KnownOne,
95 KnownOne |= KnownOne2 & Mask;
106 KnownOne |= LHSKnownOne & Mask;
110 if (!KnownZero.isNegative() && !KnownOne.isNegative()) {
118 KnownOne |= APInt::getSignBit(BitWidth);
125 KnownOne |= APInt::getSignBit(BitWidth);
132 APInt &KnownZero, APInt &KnownOne,
136 computeKnownBits(Op1, KnownZero, KnownOne, TD, Depth+1);
149 bool isKnownNegativeOp1 = KnownOne.isNegative();
168 KnownOne.clearAllBits()
    [all...]
Lint.cpp 515 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
516 computeKnownBits(V, KnownZero, KnownOne, DL);
536 APInt KnownZero(BitWidth, 0), KnownOne(BitWidth, 0);
537 computeKnownBits(Elem, KnownZero, KnownOne, DL);
ConstantFolding.cpp 641 APInt KnownOne = KnownOne0 & KnownOne1;
642 if ((KnownZero | KnownOne).isAllOnesValue()) {
643 return ConstantInt::get(Op0->getType(), KnownOne);
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 369 /// analyze the expression and return a mask of KnownOne and KnownZero bits for
375 APInt &KnownOne,
385 KnownZero = KnownOne = APInt(BitWidth, 0);
390 // If not at the root, Just compute the KnownZero/KnownOne bits to
392 TLO.DAG.computeKnownBits(Op, KnownZero, KnownOne, Depth);
411 KnownOne = cast<ConstantSDNode>(Op)->getAPIntValue();
412 KnownZero = ~KnownOne;
433 KnownOne, TLO, Depth+1))
435 assert((KnownZero & KnownOne) == 0 && "Bits known to be one AND zero?");
443 if ((NewMask & ~KnownZero2 & KnownOne) == (~KnownZero2 & NewMask)
    [all...]
FunctionLoweringInfo.cpp 296 LOI->KnownOne = LOI->KnownOne.zextOrTrunc(BitWidth);
333 DestLOI.KnownOne = Zero;
341 DestLOI.KnownOne = Val;
359 DestLOI.KnownOne.getBitWidth() == BitWidth &&
368 DestLOI.KnownOne = Zero;
376 DestLOI.KnownOne &= Val;
394 DestLOI.KnownOne &= SrcLOI->KnownOne;
SelectionDAG.cpp     [all...]
  /external/llvm/include/llvm/Analysis/
ValueTracking.h 31 /// them in the KnownZero/KnownOne bit sets.
38 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
47 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne,
  /external/chromium_org/third_party/mesa/src/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/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp 197 /// \p KnownOne Mask of all bits that are known to be one.
199 void ComputeKnownBits(Value *V, APInt &KnownOne, APInt &KnownZero) const;
581 void ConstantOffsetExtractor::ComputeKnownBits(Value *V, APInt &KnownOne,
584 KnownOne = APInt(IT->getBitWidth(), 0);
586 llvm::computeKnownBits(V, KnownZero, KnownOne, DL, 0);
    [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 187 APInt &KnownOne,
  /external/llvm/lib/Target/SystemZ/
SystemZISelDAGToDAG.cpp 667 APInt KnownZero, KnownOne;
668 CurDAG->computeKnownBits(Op.getOperand(0), KnownZero, KnownOne);
716 APInt KnownZero, KnownOne;
717 CurDAG->computeKnownBits(Input, KnownZero, KnownOne);
740 APInt KnownZero, KnownOne;
741 CurDAG->computeKnownBits(Input, KnownZero, KnownOne);
742 Mask &= ~KnownOne.getZExtValue();
    [all...]
  /external/llvm/lib/Target/R600/
AMDGPUISelLowering.h 150 /// either zero or one and return them in the \p KnownZero and \p KnownOne
154 APInt &KnownOne,
AMDGPUISelLowering.cpp     [all...]
  /external/llvm/lib/Target/Sparc/
SparcISelLowering.h 62 /// KnownZero/KnownOne bitsets.
65 APInt &KnownOne,
  /external/llvm/lib/Target/AArch64/
AArch64ISelLowering.h 208 /// KnownZero/KnownOne bitsets.
210 APInt &KnownOne, const SelectionDAG &DAG,
  /external/llvm/lib/Target/ARM/
ARMISelLowering.h 319 APInt &KnownOne,

Completed in 1119 milliseconds

1 2