/external/llvm/include/llvm/MC/ |
H A D | MCValue.h | 45 int64_t Cst; member in class:llvm::MCValue 49 int64_t getConstant() const { return Cst; } 70 R.Cst = Val; 79 R.Cst = Val;
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCCodeEmitter.cpp | 161 intptr_t Cst = 0; local 164 Cst = -(intptr_t)MovePCtoLROffset - 4; 170 Cst, isa<Function>(MO.getGlobal())); 173 RelocID, MO.getSymbolName(), Cst); 176 RelocID, MO.getIndex(), Cst); 184 RelocID, MO.getIndex(), Cst);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64PromoteConstant.cpp | 166 bool insertDefinitions(Constant *Cst, InsertionPointsPerFunc &InsPtsPerFunc); 181 /// \return true if Cst has been promoted 182 bool promoteConstant(Constant *Cst); 234 /// Check if the given use (Instruction + OpIdx) of Cst should be converted into 235 /// a load of a global variable initialized with Cst. 239 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr, argument 294 /// Check if the given Cst should be converted into 295 /// a load of a global variable initialized with Cst. 308 static bool shouldConvert(const Constant *Cst) { argument 309 if (isa<const UndefValue>(Cst)) 466 insertDefinitions( Constant *Cst, InsertionPointsPerFunc &InsPtsPerFunc) argument 540 promoteConstant(Constant *Cst) argument 567 Constant *Cst = dyn_cast<Constant>(MI.getOperand(OpIdx)); local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 320 Constant *Cst = Constant::getAllOnesValue(Neg->getType()); local 323 BinaryOperator::CreateMul(Neg->getOperand(1), Cst, "",Neg); 1730 Constant *Cst = nullptr; 1734 Cst = Cst ? ConstantExpr::get(Opcode, C, Cst) : C; 1738 return Cst; 1743 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { 1744 if (Cst [all...] |
/external/llvm/lib/Target/R600/ |
H A D | R600ISelLowering.cpp | 1144 if(ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op)) { 1145 return Cst->isNullValue(); 2109 ConstantSDNode *Cst local 2111 Consts.push_back(Cst->getZExtValue()); 2116 ConstantSDNode *Cst = cast<ConstantSDNode>(CstOffset); local 2117 Consts.push_back(Cst->getZExtValue());
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 475 // Transform trunc(lshr (zext A), Cst) to eliminate one type conversion. 476 Value *A = nullptr; ConstantInt *Cst = nullptr; local 478 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { 487 if (Cst->getZExtValue() >= ASize) 493 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue()); 502 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { 505 ConstantExpr::getTrunc(Cst, CI.getType())); 1283 // (fptrunc (select cond, R1, Cst)) --> 1284 // (select cond, (fptrunc R1), (fptrunc Cst))
|
H A D | InstCombineCompares.cpp | 1025 Constant *Cst = Builder->getInt1(IsICMP_NE); local 1026 return ReplaceInstUsesWith(ICI, Cst); 1447 Constant *Cst = Builder->getInt1(IsICMP_NE); local 1448 return ReplaceInstUsesWith(ICI, Cst); 3071 // a * Cst icmp eq/ne b * Cst --> a & Mask icmp b & Mask 3072 // Mask = -1 >> count-trailing-zeros(Cst). 3277 Value *X; ConstantInt *Cst; local 3278 // icmp X+Cst, X 3279 if (match(Op0, m_Add(m_Value(X), m_ConstantInt(Cst))) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 1765 const APInt &Cst = Constant->getAPIntValue(); local 1768 Lo = DAG.getConstant(Cst.trunc(NBitWidth), NVT, IsTarget, IsOpaque); 1769 Hi = DAG.getConstant(Cst.lshr(NBitWidth).trunc(NBitWidth), NVT, IsTarget,
|
H A D | DAGCombiner.cpp | 6306 SDValue Cst = DAG.getNode(ISD::BITCAST, SDLoc(N0), local 6308 Cst = DAG.getNode(ISD::AND, SDLoc(Cst), VT, 6309 Cst, DAG.getConstant(~SignBit, VT)); 6310 AddToWorkList(Cst.getNode()); 6312 return DAG.getNode(ISD::OR, SDLoc(N), VT, X, Cst);
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 992 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N)) 993 if (!FoldOffsetIntoAddress(Cst->getSExtValue(), AM)) 2153 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N1); local 2155 if (!Cst || !ShlCst) 2158 int64_t Val = Cst->getSExtValue();
|
H A D | X86ISelLowering.cpp | 4900 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); local 4901 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32, Cst, Cst, Cst, Cst); 4903 SDValue Cst = DAG.getTargetConstantFP(+0.0, MVT::f32); local 4904 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4f32, Cst, Cst, Cst, Cst); 4908 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); local 4914 SDValue Cst = DAG.getTargetConstantFP(+0.0, MVT::f32); local 4919 SDValue Cst = DAG.getTargetConstant(0, MVT::i32); local 4925 SDValue Cst = DAG.getTargetConstant(0, MVT::i1); local 4942 SDValue Cst = DAG.getTargetConstant(~0U, MVT::i32); local 6001 SDValue Cst = DAG.getTargetConstant(0, MVT::i1); local 6007 SDValue Cst = DAG.getTargetConstant(1, MVT::i1); local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 2660 ConstantInt *Cst = cast<ConstantInt>(ICI->getOperand(1)); local 2691 if (SI->findCaseValue(Cst) != SI->case_default()) { 2734 // Split weight for default case to case for "Cst". 2744 SI->addCase(Cst, NewBB);
|