Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp166 bool insertDefinitions(Constant *Cst, InsertionPointsPerFunc &InsPtsPerFunc);
182 bool promoteConstant(Constant *Cst);
239 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr, in shouldConvertUse() argument
308 static bool shouldConvert(const Constant *Cst) { in shouldConvert() argument
309 if (isa<const UndefValue>(Cst)) in shouldConvert()
319 if (Cst->isZeroValue()) in shouldConvert()
326 if (Cst->getType()->isVectorTy()) in shouldConvert()
328 return isConstantUsingVectorTy(Cst->getType()); in shouldConvert()
461 Constant *Cst, InsertionPointsPerFunc &InsPtsPerFunc) { in insertDefinitions() argument
480 *M, Cst->getType(), true, GlobalValue::InternalLinkage, nullptr, in insertDefinitions()
[all …]
DAArch64AddressTypePromotion.cpp324 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) { in propagateSignExtension() local
327 Cst->getSExtValue())); in propagateSignExtension()
DAArch64ISelLowering.cpp6432 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op.getOperand(1)); in LowerEXTRACT_SUBVECTOR() local
6433 if (!Cst) in LowerEXTRACT_SUBVECTOR()
6435 unsigned Val = Cst->getZExtValue(); in LowerEXTRACT_SUBVECTOR()
/external/llvm/include/llvm/MC/
DMCValue.h42 int64_t Cst; variable
46 int64_t getConstant() const { return Cst; } in getConstant()
66 R.Cst = Val;
75 R.Cst = Val; in get()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp1874 Constant *Cst = nullptr; in OptimizeExpression() local
1878 Cst = Cst ? ConstantExpr::get(Opcode, C, Cst) : C; in OptimizeExpression()
1882 return Cst; in OptimizeExpression()
1887 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression()
1888 if (Cst == ConstantExpr::getBinOpAbsorber(Opcode, I->getType())) in OptimizeExpression()
1889 return Cst; in OptimizeExpression()
1890 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp523 Value *A = nullptr; ConstantInt *Cst = nullptr; in visitTrunc() local
525 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc()
534 if (Cst->getZExtValue() >= ASize) in visitTrunc()
540 Value *Shift = Builder->CreateLShr(A, Cst->getZExtValue()); in visitTrunc()
551 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst))) && in visitTrunc()
558 if (Cst->getValue().ult(ASize)) { in visitTrunc()
559 Value *Shift = Builder->CreateAShr(A, Cst->getZExtValue()); in visitTrunc()
569 match(Src, m_And(m_Value(A), m_ConstantInt(Cst)))) { in visitTrunc()
572 ConstantExpr::getTrunc(Cst, DestTy)); in visitTrunc()
DInstCombineCompares.cpp1079 Constant *Cst = Builder->getInt1(IsICMP_NE); in FoldICmpShrCst() local
1080 return ReplaceInstUsesWith(ICI, Cst); in FoldICmpShrCst()
1676 Constant *Cst = Builder->getInt1(IsICMP_NE); in visitICmpInstWithInstAndIntCst() local
1677 return ReplaceInstUsesWith(ICI, Cst); in visitICmpInstWithInstAndIntCst()
3825 Value *X; ConstantInt *Cst; in visitICmpInst() local
3827 if (match(Op0, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op1 == X) in visitICmpInst()
3828 return FoldICmpAddOpCst(I, X, Cst, I.getPredicate()); in visitICmpInst()
3831 if (match(Op1, m_Add(m_Value(X), m_ConstantInt(Cst))) && Op0 == X) in visitICmpInst()
3832 return FoldICmpAddOpCst(I, X, Cst, I.getSwappedPredicate()); in visitICmpInst()
DInstCombineAndOrXor.cpp2001 Value *Cst = Builder->getInt(Xor); in FoldOrOfICmps() local
2002 Value *Or = Builder->CreateOr(LHS->getOperand(0), Cst); in FoldOrOfICmps()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp4394 SDValue Cst = DAG.getConstant(0, dl, MVT::i32); in getZeroVector() local
4395 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4i32, Cst, Cst, Cst, Cst); in getZeroVector()
4397 SDValue Cst = DAG.getConstantFP(+0.0, dl, MVT::f32); in getZeroVector() local
4398 Vec = DAG.getNode(ISD::BUILD_VECTOR, dl, MVT::v4f32, Cst, Cst, Cst, Cst); in getZeroVector()
4402 SDValue Cst = DAG.getConstant(0, dl, MVT::i32); in getZeroVector() local
4403 SDValue Ops[] = { Cst, Cst, Cst, Cst, Cst, Cst, Cst, Cst }; in getZeroVector()
4408 SDValue Cst = DAG.getConstantFP(+0.0, dl, MVT::f32); in getZeroVector() local
4409 SDValue Ops[] = { Cst, Cst, Cst, Cst, Cst, Cst, Cst, Cst }; in getZeroVector()
4413 SDValue Cst = DAG.getConstant(0, dl, MVT::i32); in getZeroVector() local
4414 SDValue Ops[] = { Cst, Cst, Cst, Cst, Cst, Cst, Cst, Cst, in getZeroVector()
[all …]
DX86ISelDAGToDAG.cpp1129 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N)) in matchAddressRecursively() local
1130 if (!foldOffsetIntoAddress(Cst->getSExtValue(), AM)) in matchAddressRecursively()
2334 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N1); in Select() local
2336 if (!Cst || !ShlCst) in Select()
2339 int64_t Val = Cst->getSExtValue(); in Select()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1107 if(ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op)) { in isZero() local
1108 return Cst->isNullValue(); in isZero()
2113 ConstantSDNode *Cst in FoldOperand() local
2115 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
2120 ConstantSDNode *Cst = cast<ConstantSDNode>(CstOffset); in FoldOperand() local
2121 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
DAMDGPUISelDAGToDAG.cpp641 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) { in SelectGlobalValueConstantOffset() local
642 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), in SelectGlobalValueConstantOffset()
/external/llvm/test/Analysis/BasicAA/
Dgep-alias.ll236 ; Make sure we recognize that u[0] and u[Global + Cst] may alias
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp2262 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(BVN->getOperand(i)); in LowerBUILD_VECTOR() local
2265 if (!Cst) { in LowerBUILD_VECTOR()
2292 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Operand)) in LowerBUILD_VECTOR() local
2293 Val = Cst->getSExtValue(); in LowerBUILD_VECTOR()
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp2492 Constant *Cst = dyn_cast<Constant>(ArgShadow); in visitCallSite() local
2493 if (Cst && Cst->isNullValue()) ArgIsInitialized = true; in visitCallSite()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3005 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) { in promoteOperandForOther() local
3008 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth) in promoteOperandForOther()
3009 : Cst->getValue().zext(BitWidth); in promoteOperandForOther()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7411 SDValue Cst = DAG.getNode(ISD::BITCAST, SDLoc(N0.getOperand(0)), VT, in visitBITCAST() local
7413 AddToWorklist(Cst.getNode()); in visitBITCAST()
7417 SDValue XorResult = DAG.getNode(ISD::XOR, SDLoc(N0), VT, Cst, X); in visitBITCAST()
7431 return DAG.getNode(ISD::XOR, SDLoc(N), VT, Cst, FlipBits); in visitBITCAST()
7438 SDValue Cst = DAG.getNode(ISD::BITCAST, SDLoc(N0), in visitBITCAST() local
7440 Cst = DAG.getNode(ISD::AND, SDLoc(Cst), VT, in visitBITCAST()
7441 Cst, DAG.getConstant(~SignBit, SDLoc(Cst), VT)); in visitBITCAST()
7442 AddToWorklist(Cst.getNode()); in visitBITCAST()
7444 return DAG.getNode(ISD::OR, SDLoc(N), VT, X, Cst); in visitBITCAST()
DLegalizeIntegerTypes.cpp1901 const APInt &Cst = Constant->getAPIntValue(); in ExpandIntRes_Constant() local
1905 Lo = DAG.getConstant(Cst.trunc(NBitWidth), dl, NVT, IsTarget, IsOpaque); in ExpandIntRes_Constant()
1906 Hi = DAG.getConstant(Cst.lshr(NBitWidth).trunc(NBitWidth), dl, NVT, IsTarget, in ExpandIntRes_Constant()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3037 ConstantInt *Cst = cast<ConstantInt>(ICI->getOperand(1)); in TryToSimplifyUncondBranchWithICmpInIt() local
3068 if (SI->findCaseValue(Cst) != SI->case_default()) { in TryToSimplifyUncondBranchWithICmpInIt()
3121 SI->addCase(Cst, NewBB); in TryToSimplifyUncondBranchWithICmpInIt()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/de-DE/
Dde-DE_lexpos.utf1033 ADV "demnächst" ",de:m'nE:Cst"
1104 ADV "höchst" "'h2:Cst"
1105 ADV "höchstens" "'h2:Cst=ns"
1169 ADV "nächstens" "'nE:Cst=ns"
1250 ADV "zunächst" "t_su'nE:Cst"