Home | History | Annotate | Download | only in PowerPC

Lines Matching refs:ConstantSDNode

690 /// isConstantOrUndef - Op is either an undef node or a ConstantSDNode.  Return
880 if (!isa<ConstantSDNode>(N->getOperand(i))) return SDValue();
900 LeadingZero &= cast<ConstantSDNode>(UniquedVals[i])->isNullValue();
901 LeadingOnes &= cast<ConstantSDNode>(UniquedVals[i])->isAllOnesValue();
907 int Val = cast<ConstantSDNode>(UniquedVals[Multiple-1])->getZExtValue();
914 int Val =cast<ConstantSDNode>(UniquedVals[Multiple-1])->getSExtValue();
935 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) {
983 Imm = (short)cast<ConstantSDNode>(N)->getZExtValue();
985 return Imm == (int32_t)cast<ConstantSDNode>(N)->getZExtValue();
987 return Imm == (int64_t)cast<ConstantSDNode>(N)->getZExtValue();
1106 assert(!cast<ConstantSDNode>(N.getOperand(1).getOperand(1))->getZExtValue()
1134 } else if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(N)) {
1269 isa<ConstantSDNode>(Offset))
1514 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op.getOperand(1))) {
2949 ConstantSDNode *C = dyn_cast<ConstantSDNode>(Op);
3423 isa<ConstantSDNode>(Callee)) &&
5533 cast<ConstantSDNode>(Intrin.getOperand(0))->getZExtValue();
5609 switch (cast<ConstantSDNode>(Op.getOperand(1))->getZExtValue()) {
5783 if (cast<ConstantSDNode>(N->getOperand(1))->getZExtValue() !=
6894 cast<ConstantSDNode>(Loc.getOperand(1))->getSExtValue() == Dist*Bytes)
6986 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(0))) {
6992 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(0))) {
6998 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(0))) {
7282 if (cast<ConstantSDNode>(N->getOperand(0))->getZExtValue() ==
7294 cast<ConstantSDNode>(UI->getOperand(0))->getZExtValue() ==
7408 cast<ConstantSDNode>(LHS.getOperand(0).getOperand(1))->getZExtValue() ==
7410 isa<ConstantSDNode>(LHS.getOperand(1)) &&
7411 !cast<ConstantSDNode>(LHS.getOperand(1))->getConstantIntValue()->
7416 cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue() ==
7418 isa<ConstantSDNode>(RHS)) {
7422 unsigned Val = cast<ConstantSDNode>(RHS)->getZExtValue();
7440 isa<ConstantSDNode>(RHS) && (CC == ISD::SETEQ || CC == ISD::SETNE) &&
7446 unsigned Val = cast<ConstantSDNode>(RHS)->getZExtValue();
7468 switch (cast<ConstantSDNode>(LHS.getOperand(1))->getZExtValue()) {
7515 switch (cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue()) {
7678 ConstantSDNode *CST = dyn_cast<ConstantSDNode>(Op);
7769 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();
7799 unsigned Depth = cast<ConstantSDNode>(Op.getOperand(0))->getZExtValue();