Home
last modified time | relevance | path

Searched refs:Cst (Results 1 – 12 of 12) sorted by relevance

/trueos/contrib/llvm/include/llvm/MC/
HDMCValue.h39 int64_t Cst; variable
42 int64_t getConstant() const { return Cst; } in getConstant()
59 R.Cst = Val;
67 R.Cst = Val; in get()
/trueos/contrib/llvm/lib/Target/PowerPC/
HDPPCCodeEmitter.cpp158 intptr_t Cst = 0; in GetRelocation() local
161 Cst = -(intptr_t)MovePCtoLROffset - 4; in GetRelocation()
167 Cst, isa<Function>(MO.getGlobal())); in GetRelocation()
170 RelocID, MO.getSymbolName(), Cst); in GetRelocation()
173 RelocID, MO.getIndex(), Cst); in GetRelocation()
181 RelocID, MO.getIndex(), Cst); in GetRelocation()
/trueos/contrib/llvm/lib/Transforms/Scalar/
HDReassociate.cpp320 Constant *Cst = Constant::getAllOnesValue(Neg->getType()); in LowerNegateToMultiply() local
323 BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg); in LowerNegateToMultiply()
1729 Constant *Cst = 0; in OptimizeExpression() local
1733 Cst = Cst ? ConstantExpr::get(Opcode, C, Cst) : C; in OptimizeExpression()
1737 return Cst; in OptimizeExpression()
1742 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression()
1743 if (Cst == ConstantExpr::getBinOpAbsorber(Opcode, I->getType())) in OptimizeExpression()
1744 return Cst; in OptimizeExpression()
1745 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
/trueos/contrib/llvm/lib/Target/X86/
HDX86ISelLowering.cpp4723 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); in getZeroVector() local
4724 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32, Cst, Cst, Cst, Cst); in getZeroVector()
4726 SDValue Cst = DAG.getTargetConstantFP(+0.0, MVT::f32); in getZeroVector() local
4727 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4f32, Cst, Cst, Cst, Cst); in getZeroVector()
4731 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); in getZeroVector() local
4732 SDValue Ops[] = { Cst, Cst, Cst, Cst, Cst, Cst, Cst, Cst }; in getZeroVector()
4738 SDValue Cst = DAG.getTargetConstantFP(+0.0, MVT::f32); in getZeroVector() local
4739 SDValue Ops[] = { Cst, Cst, Cst, Cst, Cst, Cst, Cst, Cst }; in getZeroVector()
4744 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); in getZeroVector() local
4745 SDValue Ops[] = { Cst, Cst, Cst, Cst, Cst, Cst, Cst, Cst, in getZeroVector()
[all …]
HDX86ISelDAGToDAG.cpp984 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N)) in MatchAddressRecursively() local
985 if (!FoldOffsetIntoAddress(Cst->getSExtValue(), AM)) in MatchAddressRecursively()
2177 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N1); in Select() local
2179 if (!Cst || !ShlCst) in Select()
2182 int64_t Val = Cst->getSExtValue(); in Select()
/trueos/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp473 Value *A = 0; ConstantInt *Cst = 0; in visitTrunc() local
475 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
484 if (Cst->getZExtValue() >= ASize) in visitTrunc()
490 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue()); in visitTrunc()
499 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { in visitTrunc()
502 ConstantExpr::getTrunc(Cst, CI.getType())); in visitTrunc()
HDInstCombineCompares.cpp1030 Constant *Cst = Builder->getInt1(IsICMP_NE); in FoldICmpShrCst() local
1031 return ReplaceInstUsesWith(ICI, Cst); in FoldICmpShrCst()
1443 Constant *Cst = Builder->getInt1(IsICMP_NE); in visitICmpInstWithInstAndIntCst() local
1444 return ReplaceInstUsesWith(ICI, Cst); in visitICmpInstWithInstAndIntCst()
3004 Value *X; ConstantInt *Cst; in visitICmpInst() local
3006 if (match(Op0, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op1 == X) in visitICmpInst()
3007 return FoldICmpAddOpCst(I, X, Cst, I.getPredicate()); in visitICmpInst()
3010 if (match(Op1, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op0 == X) in visitICmpInst()
3011 return FoldICmpAddOpCst(I, X, Cst, I.getSwappedPredicate()); in visitICmpInst()
/trueos/contrib/llvm/lib/Target/R600/
HDAMDGPUISelDAGToDAG.cpp455 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) { in SelectGlobalValueConstantOffset() local
456 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, true); in SelectGlobalValueConstantOffset()
HDR600ISelLowering.cpp842 if(ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op)) { in isZero() local
843 return Cst->isNullValue(); in isZero()
1771 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>( in FoldOperand() local
1773 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
1778 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(CstOffset); in FoldOperand() local
1779 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
/trueos/contrib/llvm/lib/Transforms/Utils/
HDSimplifyCFG.cpp2636 ConstantInt *Cst = cast<ConstantInt>(ICI->getOperand(1)); in TryToSimplifyUncondBranchWithICmpInIt() local
2667 if (SI->findCaseValue(Cst) != SI->case_default()) { in TryToSimplifyUncondBranchWithICmpInIt()
2720 SI->addCase(Cst, NewBB); in TryToSimplifyUncondBranchWithICmpInIt()
/trueos/contrib/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeIntegerTypes.cpp1715 const APInt &Cst = cast<ConstantSDNode>(N)->getAPIntValue(); in ExpandIntRes_Constant() local
1716 Lo = DAG.getConstant(Cst.trunc(NBitWidth), NVT); in ExpandIntRes_Constant()
1717 Hi = DAG.getConstant(Cst.lshr(NBitWidth).trunc(NBitWidth), NVT); in ExpandIntRes_Constant()
HDDAGCombiner.cpp5814 SDValue Cst = DAG.getNode(ISD::BITCAST, SDLoc(N0), in visitBITCAST() local
5816 Cst = DAG.getNode(ISD::AND, SDLoc(Cst), VT, in visitBITCAST()
5817 Cst, DAG.getConstant(~SignBit, VT)); in visitBITCAST()
5818 AddToWorkList(Cst.getNode()); in visitBITCAST()
5820 return DAG.getNode(ISD::OR, SDLoc(N), VT, X, Cst); in visitBITCAST()