Searched refs:Cst (Results 1 - 13 of 13) sorted by relevance

/external/llvm/include/llvm/MC/
H A DMCValue.h39 int64_t Cst; member in class:llvm::MCValue
42 int64_t getConstant() const { return Cst; }
59 R.Cst = Val;
67 R.Cst = Val;
/external/llvm/lib/Target/PowerPC/
H A DPPCCodeEmitter.cpp155 intptr_t Cst = 0; local
158 Cst = -(intptr_t)MovePCtoLROffset - 4;
164 Cst, isa<Function>(MO.getGlobal()));
167 RelocID, MO.getSymbolName(), Cst);
170 RelocID, MO.getIndex(), Cst);
178 RelocID, MO.getIndex(), Cst);
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp241 Constant *Cst = Constant::getAllOnesValue(Neg->getType()); local
244 BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg);
1406 Constant *Cst = 0;
1410 Cst = Cst ? ConstantExpr::get(Opcode, C, Cst) : C;
1414 return Cst;
1419 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) {
1420 if (Cst
[all...]
/external/llvm/lib/Target/R600/
H A DAMDILISelDAGToDAG.cpp381 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Ops[SelIdx[j] - 1]); local
382 Consts.push_back(Cst->getZExtValue());
387 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(CstOffset); local
388 Consts.push_back(Cst->getZExtValue());
564 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) {
565 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, true);
H A DR600ISelLowering.cpp519 if(ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op)) {
520 return Cst->isNullValue();
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp472 // Transform trunc(lshr (zext A), Cst) to eliminate one type conversion.
473 Value *A = 0; ConstantInt *Cst = 0; local
475 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) {
484 if (Cst->getZExtValue() >= ASize)
490 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue());
499 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) {
502 ConstantExpr::getTrunc(Cst, CI.getType()));
H A DInstCombineCompares.cpp994 Constant *Cst = ConstantInt::get(Type::getInt1Ty(ICI.getContext()), local
996 return ReplaceInstUsesWith(ICI, Cst);
1296 Constant *Cst = local
1298 return ReplaceInstUsesWith(ICI, Cst);
2504 // a * Cst icmp eq/ne b * Cst --> a & Mask icmp b & Mask
2505 // Mask = -1 >> count-trailing-zeros(Cst).
2674 Value *X; ConstantInt *Cst; local
2675 // icmp X+Cst, X
2676 if (match(Op0, m_Add(m_Value(X), m_ConstantInt(Cst)))
[all...]
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4405 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); local
4406 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32, Cst, Cst, Cst, Cst);
4408 SDValue Cst = DAG.getTargetConstantFP(+0.0, MVT::f32); local
4409 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4f32, Cst, Cst, Cst, Cst);
4413 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); local
4419 SDValue Cst = DAG.getTargetConstantFP(+0.0, MVT::f32); local
4437 SDValue Cst = DAG.getTargetConstant(~0U, MVT::i32); local
[all...]
H A DX86ISelDAGToDAG.cpp979 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N))
980 if (!FoldOffsetIntoAddress(Cst->getSExtValue(), AM))
2107 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N1); local
2109 if (!Cst || !ShlCst)
2112 int64_t Val = Cst->getSExtValue();
/external/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp473 Constant *Cst = dyn_cast_or_null<Constant>(ConvertedShadow); local
477 if (Cst)
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2566 ConstantInt *Cst = cast<ConstantInt>(ICI->getOperand(1)); local
2597 if (SI->findCaseValue(Cst) != SI->case_default()) {
2640 // Split weight for default case to case for "Cst".
2650 SI->addCase(Cst, NewBB);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp1711 const APInt &Cst = cast<ConstantSDNode>(N)->getAPIntValue(); local
1712 Lo = DAG.getConstant(Cst.trunc(NBitWidth), NVT);
1713 Hi = DAG.getConstant(Cst.lshr(NBitWidth).trunc(NBitWidth), NVT);
H A DDAGCombiner.cpp5636 SDValue Cst = DAG.getNode(ISD::BITCAST, N0.getDebugLoc(), local
5638 Cst = DAG.getNode(ISD::AND, Cst.getDebugLoc(), VT,
5639 Cst, DAG.getConstant(~SignBit, VT));
5640 AddToWorkList(Cst.getNode());
5642 return DAG.getNode(ISD::OR, N->getDebugLoc(), VT, X, Cst);

Completed in 2363 milliseconds