HomeSort by: relevance | last modified time | path
    Searched defs:CN (Results 1 - 18 of 18) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/ARC/
ARCISelDAGToDAG.cpp 52 const ConstantSDNode *CN = cast<ConstantSDNode>(N);
53 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32);
155 ConstantSDNode *CN = nullptr;
157 (CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1))) &&
158 (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) {
162 CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr), MVT::i32);
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangSyntaxEmitter.cpp 94 auto &CN = get(Derived->getName()), &PN = get(Base->getName());
95 assert(CN.Base == nullptr && "setting base twice");
96 PN.Derived.push_back(&CN);
97 CN.Base = &PN;
  /src/external/apache2/llvm/dist/llvm/lib/Target/VE/
VEISelDAGToDAG.cpp 230 if (auto *CN = dyn_cast<ConstantSDNode>(Addr)) {
231 if (isInt<32>(CN->getSExtValue())) {
235 CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), MVT::i32);
261 if (auto *CN = dyn_cast<ConstantSDNode>(Addr)) {
262 if (isInt<32>(CN->getSExtValue())) {
265 CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), MVT::i32);
313 ConstantSDNode *CN = cast<ConstantSDNode>(Addr.getOperand(1));
314 if (isInt<32>(CN->getSExtValue())) {
323 CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr), MVT::i32);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
Mips16ISelDAGToDAG.cpp 124 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
125 if (isInt<16>(CN->getSExtValue())) {
131 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
137 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy);
MipsSEISelDAGToDAG.cpp 285 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
286 if (isIntN(OffsetBits + ShiftAmount, CN->getSExtValue())) {
298 if (!isAligned(Alignment, CN->getZExtValue()))
302 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(Addr),
445 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Offset)) {
446 unsigned CnstOff = CN->getZExtValue();
770 auto *CN = cast<ConstantFPSDNode>(Node);
771 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) {
794 auto *CN = cast<ConstantSDNode>(Node);
795 int64_t Imm = CN->getSExtValue()
    [all...]
MipsISelLowering.cpp 795 ConstantSDNode *CN;
800 if (!(CN = dyn_cast<ConstantSDNode>(Mask)) ||
801 !isShiftedMask(CN->getZExtValue(), SMPos, SMSize))
810 if (!(CN = dyn_cast<ConstantSDNode>(FirstOperand.getOperand(1))))
813 Pos = CN->getZExtValue();
830 if (!(CN = dyn_cast<ConstantSDNode>(FirstOperand.getOperand(1))))
833 Pos = CN->getZExtValue();
849 if (CN->getZExtValue() <= 0xffff)
876 ConstantSDNode *CN, *CN1;
882 if (!(CN = dyn_cast<ConstantSDNode>(And0.getOperand(1))) |
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
XCoreISelDAGToDAG.cpp 96 ConstantSDNode *CN = nullptr;
98 && (CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1)))
99 && (CN->getSExtValue() % 4 == 0 && CN->getSExtValue() >= 0)) {
102 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), SDLoc(Addr),
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFISelDAGToDAG.cpp 115 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
116 if (isInt<16>(CN->getSExtValue())) {
125 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64);
144 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
145 if (isInt<16>(CN->getSExtValue())) {
153 Offset = CurDAG->getTargetConstant(CN->getSExtValue(), DL, MVT::i64);
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
RetainCountDiagnostics.cpp 384 const ExplodedNode *CN = getCalleeNode(N);
385 if (!CN)
400 const RefVal *CountBeforeCall = getRefBinding(CN->getState(), SR);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonCommonGEP.cpp 780 GepNode *CN = *I;
781 NodeToValueMap::iterator LF = Loc.find(CN);
1213 GepNode *CN = *I;
1214 CN->Flags &= ~GepNode::Internal;
1215 CN->Flags |= GepNode::Root;
1216 CN->BaseVal = NewInst;
1217 Roots.push_back(CN);
HexagonISelDAGToDAG.cpp 700 auto *CN = cast<ConstantFPSDNode>(N);
701 APInt A = CN->getValueAPF().bitcastToAPInt();
1056 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(C.getNode());
1057 if (CN == nullptr)
1059 unsigned CV = CN->getZExtValue();
1599 if (const ConstantSDNode *CN = dyn_cast<const ConstantSDNode>(N)) {
1600 int64_t V = CN->getSExtValue();
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
LegalizeFloatTypes.cpp 222 ConstantFPSDNode *CN = cast<ConstantFPSDNode>(N);
231 CN->getValueType(0).getSimpleVT() == llvm::MVT::ppcf128) {
232 uint64_t words[2] = { CN->getValueAPF().bitcastToAPInt().getRawData()[1],
233 CN->getValueAPF().bitcastToAPInt().getRawData()[0] };
235 return DAG.getConstant(Val, SDLoc(CN),
237 CN->getValueType(0)));
239 return DAG.getConstant(CN->getValueAPF().bitcastToAPInt(), SDLoc(CN),
241 CN->getValueType(0)));
2656 ConstantFPSDNode *CN = cast<ConstantFPSDNode>(N)
    [all...]
TargetLowering.cpp 3068 if (auto *CN = dyn_cast<ConstantSDNode>(N)) {
3069 CVal = CN->getAPIntValue();
3071 auto *CN = BV->getConstantSplatNode();
3072 if (!CN)
3078 CVal = CN->getAPIntValue();
3101 const ConstantSDNode *CN = dyn_cast<ConstantSDNode>(N);
3102 if (!CN) {
3110 CN = BV->getConstantSplatNode();
3111 if (!CN)
3116 return !CN->getAPIntValue()[0]
    [all...]
DAGCombiner.cpp 2178 auto *CN = dyn_cast<ConstantSDNode>(C);
2179 if (!CN || Z.getOpcode() != ISD::ZERO_EXTEND)
2202 SDValue C1 = IsAdd ? DAG.getConstant(CN->getAPIntValue() + 1, DL, VT) :
2203 DAG.getConstant(CN->getAPIntValue() - 1, DL, VT);
8593 // Get the two constanst of the shifts, CN0 = m, CN = n.
15263 auto *CN = cast<ConstantSDNode>(OtherUses[i]->getOperand(OffsetIdx));
15264 const APInt &Offset0 = CN->getAPIntValue();
15281 SDValue NewOp1 = DAG.getConstant(CNV, DL, CN->getValueType(0));
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMISelDAGToDAG.cpp 110 const ConstantSDNode *CN = cast<ConstantSDNode>(N);
111 Pred = CurDAG->getTargetConstant(CN->getZExtValue(), SDLoc(N), MVT::i32);
ARMISelLowering.cpp 16436 // if (x & CN)
16440 // * CN is a single bit;
18117 ConstantSDNode *CN = cast<ConstantSDNode>(Op->getOperand(1));
18118 Intrinsic::ID IntID = static_cast<Intrinsic::ID>(CN->getZExtValue());
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCISelLowering.cpp 2474 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(OpVal)) {
2475 Value = CN->getZExtValue();
2476 } else if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(OpVal)) {
2477 assert(CN->getValueType(0) == MVT::f32 && "Only one legal FP vector type!");
2478 Value = FloatToBits(CN->getValueAPF().convertToFloat());
2731 } else if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(N)) {
2737 if (isIntS16Immediate(CN, Imm) &&
2739 Disp = DAG.getTargetConstant(Imm, dl, CN->getValueType(0));
2741 CN->getValueType(0));
2746 if ((CN->getValueType(0) == MVT::i32 |
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ISelLowering.cpp 1711 ConstantSDNode *CN = cast<ConstantSDNode>(Op->getOperand(1));
1712 Intrinsic::ID IntID = static_cast<Intrinsic::ID>(CN->getZExtValue());
13752 if (auto *CN = dyn_cast<ConstantSDNode>(Comparator.getOperand(0))) {
13753 int64_t ImmVal = CN->getSExtValue();
13766 if (auto *CN = dyn_cast<ConstantSDNode>(Comparator.getOperand(0))) {
13767 uint64_t ImmVal = CN->getZExtValue();
15155 if (ConstantSDNode *CN = dyn_cast<ConstantSDNode>(AndNode->getOperand(1))) {
15156 uint32_t CNV = CN->getZExtValue();
16764 ConstantSDNode *CN = cast<ConstantSDNode>(N->getOperand(0));
16765 Intrinsic::ID IntID = static_cast<Intrinsic::ID>(CN->getZExtValue())
    [all...]

Completed in 139 milliseconds