Searched refs:Demanded (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp29 APInt Demanded) {
38 Demanded = Demanded.zextOrTrunc(OpC->getValue().getBitWidth());
39 if ((~Demanded & OpC->getValue()) == 0)
43 Demanded &= OpC->getValue();
44 I->setOperand(OpNo, ConstantInt::get(OpC->getType(), Demanded));
28 ShrinkDemandedConstant(Instruction *I, unsigned OpNo, APInt Demanded) argument
/freebsd-10.0-release/contrib/llvm/include/llvm/Target/
H A DTargetLowering.h1757 bool ShrinkDemandedConstant(SDValue Op, const APInt &Demanded);
1763 bool ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded,
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp264 const APInt &Demanded) {
277 (C->getAPIntValue() | (~Demanded)).isAllOnesValue())
281 if (C->getAPIntValue().intersects(~Demanded)) {
284 DAG.getConstant(Demanded &
304 const APInt &Demanded,
319 unsigned DemandedSize = BitWidth - Demanded.countLeadingZeros();
263 ShrinkDemandedConstant(SDValue Op, const APInt &Demanded) argument
302 ShrinkDemandedOp(SDValue Op, unsigned BitWidth, const APInt &Demanded, DebugLoc dl) argument
H A DDAGCombiner.cpp139 APInt Demanded = APInt::getAllOnesValue(BitWidth); local
140 return SimplifyDemandedBits(Op, Demanded);
143 bool SimplifyDemandedBits(SDValue Op, const APInt &Demanded);
687 bool DAGCombiner::SimplifyDemandedBits(SDValue Op, const APInt &Demanded) { argument
690 if (!TLI.SimplifyDemandedBits(Op, Demanded, KnownZero, KnownOne, TLO))

Completed in 253 milliseconds