/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 258 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr, in shouldConvertUse() argument 324 static bool shouldConvertImpl(const Constant *Cst) { in shouldConvertImpl() argument 325 if (isa<const UndefValue>(Cst)) in shouldConvertImpl() 335 if (Cst->isZeroValue()) in shouldConvertImpl() 342 if (Cst->getType()->isVectorTy()) in shouldConvertImpl() 344 return isConstantUsingVectorTy(Cst->getType()); in shouldConvertImpl() 551 Constant *Cst = dyn_cast<Constant>(U); in runOnFunction() local 555 if (!Cst || isa<GlobalValue>(Cst) || isa<ConstantExpr>(Cst)) in runOnFunction() 559 if (!shouldConvert(*Cst, PromotionCache)) in runOnFunction() 564 if (!shouldConvertUse(Cst, &I, OpNo)) in runOnFunction() [all …]
|
D | AArch64StackTagging.cpp | 135 uint64_t Cst = 0x0101010101010101UL; in applyMemSet() local 138 Cst = (Cst >> LowBits) << LowBits; in applyMemSet() 141 Cst = (Cst << HighBits) >> HighBits; in applyMemSet() 143 ConstantInt::get(IRB.getInt64Ty(), Cst * V->getZExtValue()); in applyMemSet()
|
D | AArch64ISelLowering.cpp | 8228 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op.getOperand(1)); in LowerEXTRACT_SUBVECTOR() local 8229 if (!Cst) in LowerEXTRACT_SUBVECTOR() 8231 unsigned Val = Cst->getZExtValue(); in LowerEXTRACT_SUBVECTOR()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCValue.h | 41 int64_t Cst = 0; variable 46 int64_t getConstant() const { return Cst; } in getConstant() 66 R.Cst = Val; 75 R.Cst = Val; in get()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CSEMIRBuilder.cpp | 160 if (Optional<APInt> Cst = ConstantFoldBinOp(Opc, SrcOps[0].getReg(), in buildInstr() local 162 return buildConstant(DstOps[0], Cst->getSExtValue()); in buildInstr()
|
D | IRTranslator.cpp | 554 auto Cst = getOrCreateVReg( in emitJumpTableHeader() local 556 Cst = MIB.buildZExtOrTrunc(PtrScalarTy, Cst).getReg(0); in emitJumpTableHeader() 557 auto Cmp = MIB.buildICmp(CmpInst::ICMP_UGT, LLT::scalar(1), Sub, Cst); in emitJumpTableHeader() 1504 ConstantInt *Cst = cast<ConstantInt>(CI.getArgOperand(1)); in translateKnownIntrinsic() local 1507 ? Cst->isZero() ? TargetOpcode::G_CTTZ in translateKnownIntrinsic() 1509 : Cst->isZero() ? TargetOpcode::G_CTLZ in translateKnownIntrinsic()
|
D | MachineIRBuilder.cpp | 236 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd() local 237 return buildPtrAdd(Res, Op0, Cst.getReg(0)); in materializePtrAdd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 1838 Constant *Cst = nullptr; in OptimizeExpression() local 1842 Cst = Cst ? ConstantExpr::get(Opcode, C, Cst) : C; in OptimizeExpression() 1846 return Cst; in OptimizeExpression() 1851 if (Cst && Cst != ConstantExpr::getBinOpIdentity(Opcode, I->getType())) { in OptimizeExpression() 1852 if (Cst == ConstantExpr::getBinOpAbsorber(Opcode, I->getType())) in OptimizeExpression() 1853 return Cst; in OptimizeExpression() 1854 Ops.push_back(ValueEntry(0, Cst)); in OptimizeExpression()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 472 SDValue Cst = DAG.getConstant(16, DL, MVT::i32); in getAddrNonPICSym64() local 473 SDValue Shift = DAG.getNode(ISD::SHL, DL, Ty, HigherPart, Cst); in getAddrNonPICSym64() 476 SDValue Shift2 = DAG.getNode(ISD::SHL, DL, Ty, Add, Cst); in getAddrNonPICSym64()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MIPatternMatch.h | 55 inline ConstantMatch m_ICst(int64_t &Cst) { return ConstantMatch(Cst); } in m_ICst() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 759 Value *A = nullptr; ConstantInt *Cst = nullptr; in visitTrunc() local 761 match(Src, m_LShr(m_ZExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc() 770 if (Cst->getZExtValue() >= ASize) in visitTrunc() 776 Value *Shift = Builder.CreateLShr(A, Cst->getZExtValue()); in visitTrunc() 788 match(Src, m_LShr(m_SExt(m_Value(A)), m_ConstantInt(Cst)))) { in visitTrunc() 794 unsigned ShiftAmt = Cst->getZExtValue(); in visitTrunc() 826 if (match(Src, m_Shl(m_Value(A), m_ConstantInt(Cst))) && in visitTrunc() 831 if (Cst->getValue().ult(DestSize)) { in visitTrunc() 836 ConstantInt::get(DestTy, Cst->getValue().trunc(DestSize))); in visitTrunc()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 919 if(ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op)) { in isZero() local 920 return Cst->isNullValue(); in isZero() 2127 ConstantSDNode *Cst in FoldOperand() local 2129 Consts.push_back(Cst->getZExtValue()); in FoldOperand() 2134 ConstantSDNode *Cst = cast<ConstantSDNode>(CstOffset); in FoldOperand() local 2135 Consts.push_back(Cst->getZExtValue()); in FoldOperand()
|
D | AMDGPUISelDAGToDAG.cpp | 2759 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) { in SelectGlobalValueConstantOffset() local 2760 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), in SelectGlobalValueConstantOffset()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 1931 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N)) in matchAddressRecursively() local 1932 if (!foldOffsetIntoAddress(Cst->getSExtValue(), AM)) in matchAddressRecursively() 3796 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N1); in tryShrinkShlLogicImm() local 3797 if (!Cst) in tryShrinkShlLogicImm() 3800 int64_t Val = Cst->getSExtValue(); in tryShrinkShlLogicImm() 3869 unsigned ZExtWidth = Cst->getAPIntValue().getActiveBits(); in tryShrinkShlLogicImm() 3875 NeededMask &= ~Cst->getAPIntValue(); in tryShrinkShlLogicImm() 4599 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N1); in Select() local 4600 if (!Cst) in Select() 4603 int64_t Val = Cst->getSExtValue(); in Select()
|
D | X86ISelLowering.cpp | 6204 auto CollectConstantBits = [](const Constant *Cst, APInt &Mask, APInt &Undefs, in getTargetConstantBitsFromNode() 6206 if (!Cst) in getTargetConstantBitsFromNode() 6208 if (isa<UndefValue>(Cst)) { in getTargetConstantBitsFromNode() 6212 if (auto *CInt = dyn_cast<ConstantInt>(Cst)) { in getTargetConstantBitsFromNode() 6216 if (auto *CFP = dyn_cast<ConstantFP>(Cst)) { in getTargetConstantBitsFromNode() 6231 if (auto *Cst = dyn_cast<ConstantSDNode>(Op)) { in getTargetConstantBitsFromNode() local 6233 SmallVector<APInt, 64> SrcEltBits(1, Cst->getAPIntValue()); in getTargetConstantBitsFromNode() 6236 if (auto *Cst = dyn_cast<ConstantFPSDNode>(Op)) { in getTargetConstantBitsFromNode() local 6238 APInt RawBits = Cst->getValueAPF().bitcastToAPInt(); in getTargetConstantBitsFromNode() 6256 auto *Cst = cast<ConstantSDNode>(Src); in getTargetConstantBitsFromNode() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 276 if (auto *Cst = dyn_cast<ConstantSDNode>(Op)) in matchUnaryPredicate() local 277 return Match(Cst); in matchUnaryPredicate() 291 auto *Cst = dyn_cast<ConstantSDNode>(Op.getOperand(i)); in matchUnaryPredicate() local 292 if (!Cst || Cst->getValueType(0) != SVT || !Match(Cst)) in matchUnaryPredicate() 3015 const Constant *Cst = TLI->getTargetConstantFromLoad(LD); in computeKnownBits() local 3016 if (ISD::isNON_EXTLoad(LD) && Cst) { in computeKnownBits() 3018 Type *CstTy = Cst->getType(); in computeKnownBits() 3023 if (const Constant *Splat = Cst->getSplatValue()) { in computeKnownBits() 3024 Cst = Splat; in computeKnownBits() 3025 CstTy = Cst->getType(); in computeKnownBits() [all …]
|
D | DAGCombiner.cpp | 2539 SDValue Cst; in flipBoolean() local 2543 Cst = DAG.getConstant(1, DL, VT); in flipBoolean() 2546 Cst = DAG.getAllOnesConstant(DL, VT); in flipBoolean() 2550 return DAG.getNode(ISD::XOR, DL, VT, V, Cst); in flipBoolean() 7409 if (ConstantSDNode *Cst = isConstOrConstSplat(N1)) { in visitRotate() local 7410 if (Cst->getAPIntValue().uge(Bitsize)) { in visitRotate() 7411 uint64_t RotAmt = Cst->getAPIntValue().urem(Bitsize); in visitRotate() 8137 if (ConstantSDNode *Cst = isConstOrConstSplat(N2)) { in visitFunnelShift() local 8141 if (Cst->getAPIntValue().uge(BitWidth)) { in visitFunnelShift() 8142 uint64_t RotAmt = Cst->getAPIntValue().urem(BitWidth); in visitFunnelShift() [all …]
|
D | TargetLowering.cpp | 6134 SDValue Cst = DAG.getConstantFP(APF, dl, SrcVT); in expandFP_TO_UINT() local 6138 Sel = DAG.getSetCC(dl, SetCCVT, Src, Cst, ISD::SETLT, in expandFP_TO_UINT() 6142 Sel = DAG.getSetCC(dl, SetCCVT, Src, Cst, ISD::SETLT); in expandFP_TO_UINT() 6158 DAG.getConstantFP(0.0, dl, SrcVT), Cst); in expandFP_TO_UINT() 6184 DAG.getNode(ISD::FSUB, dl, SrcVT, Src, Cst)); in expandFP_TO_UINT()
|
D | LegalizeIntegerTypes.cpp | 2589 const APInt &Cst = Constant->getAPIntValue(); in ExpandIntRes_Constant() local 2593 Lo = DAG.getConstant(Cst.trunc(NBitWidth), dl, NVT, IsTarget, IsOpaque); in ExpandIntRes_Constant() 2594 Hi = DAG.getConstant(Cst.lshr(NBitWidth).trunc(NBitWidth), dl, NVT, IsTarget, in ExpandIntRes_Constant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3864 const ConstantInt *Cst = dyn_cast<ConstantInt>(Inst->getOperand(1)); in canGetThrough() local 3866 if (Cst && !Cst->getValue().isAllOnesValue()) in canGetThrough() 3888 const auto *Cst = dyn_cast<ConstantInt>(AndInst->getOperand(1)); in canGetThrough() local 3889 if (Cst && in canGetThrough() 3890 Cst->getValue().isIntN(Inst->getType()->getIntegerBitWidth())) in canGetThrough() 4069 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) { in promoteOperandForOther() local 4072 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth) in promoteOperandForOther() 4073 : Cst->getValue().zext(BitWidth); in promoteOperandForOther()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 3379 Constant *Cst = dyn_cast<Constant>(ArgShadow); in visitCallSite() local 3380 if (Cst && Cst->isNullValue()) ArgIsInitialized = true; in visitCallSite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3659 ConstantInt *Cst = cast<ConstantInt>(ICI->getOperand(1)); in tryToSimplifyUncondBranchWithICmpInIt() local 3691 if (SI->findCaseValue(Cst) != SI->case_default()) { in tryToSimplifyUncondBranchWithICmpInIt() 3737 SIW.addCase(Cst, NewBB, NewW); in tryToSimplifyUncondBranchWithICmpInIt()
|
/third_party/chromium/patch/ |
D | 0003-3.2-Beta3-1115.patch | 193247 zB{7noFdhc(gTim*&+UQ|n}maQ7j@rv3FyA7BA{cLP)nZQBYfZ^pC$MDP4Y8I<~Cst
|