Home
last modified time | relevance | path

Searched defs:Cst (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp187 if (std::optional<SmallVector<APInt>> Cst = in buildInstr() local
232 if (std::optional<APInt> Cst = ConstantFoldBinOp( in buildInstr() local
252 if (std::optional<APFloat> Cst = ConstantFoldFPBinOp( in buildInstr() local
273 if (std::optional<APFloat> Cst = ConstantFoldIntToFloat( in buildInstr() local
H A DCombinerHelper.cpp1694 const ConstantFP *Cst) { in applyCombineConstantFoldFpUnary()
2483 APInt Cst; in matchCombineConstPtrAddToI2P() local
2769 auto Cst = in matchConstantSelectCmp() local
3388 int64_t Cst, bool IsVector, bool IsFP) { in isConstValidTrue()
3453 int64_t Cst; in matchNotCmp() local
4128 auto Cst = getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchExtractVecEltBuildVec() local
4199 auto Cst = getIConstantVRegVal(II.getOperand(2).getReg(), MRI); in matchExtractAllEltsFromBuildVector() local
5018 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); in matchNarrowBinopFeedingAnd() local
H A DIRTranslator.cpp884 auto Cst = getOrCreateVReg( in emitJumpTableHeader() local
2391 ConstantInt *Cst = cast<ConstantInt>(CI.getArgOperand(1)); in translateKnownIntrinsic() local
H A DMachineIRBuilder.cpp223 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd() local
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h93 inline ConstantMatch<APInt> m_ICst(APInt &Cst) { in m_ICst()
96 inline ConstantMatch<int64_t> m_ICst(int64_t &Cst) { in m_ICst()
134 inline ICstOrSplatMatch<APInt> m_ICstOrSplat(APInt &Cst) { in m_ICstOrSplat()
138 inline ICstOrSplatMatch<int64_t> m_ICstOrSplat(int64_t &Cst) { in m_ICstOrSplat()
H A DUtils.h392 int64_t Cst; variable
398 explicit RegOrConstant(int64_t Cst) : Cst(Cst), IsReg(false) {} in RegOrConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCValue.h38 int64_t Cst = 0; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp272 static bool shouldConvertUse(const Constant *Cst, const Instruction *Instr, in shouldConvertUse()
338 static bool shouldConvertImpl(const Constant *Cst) { in shouldConvertImpl()
565 Constant *Cst = dyn_cast<Constant>(U); in runOnFunction() local
H A DAArch64StackTagging.cpp176 uint64_t Cst = 0x0101010101010101UL; in applyMemSet() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp81 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) { in SelectGlobalValueConstantOffset() local
H A DR600ISelLowering.cpp778 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Op)) in isZero() local
2006 ConstantSDNode *Cst = cast<ConstantSDNode>(CstOffset); in FoldOperand() local
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp397 auto Cst = in applyEXT() local
515 auto Cst = getAArch64VectorSplatScalar(*MI, MRI); in isVShiftRImm() local
681 auto Cst = MIB.buildConstant(MRI.cloneVirtualRegister(RHS.getReg()), in applyAdjustICmpImmAndPred() local
800 int64_t Cst = Splat->getCst(); in matchBuildVectorToDup() local
H A DAArch64PostLegalizerCombiner.cpp73 auto Cst = getIConstantVRegValWithLookThrough(Src2, MRI); in matchExtractVecEltPairwiseAdd() local
H A DAArch64PreLegalizerCombiner.cpp159 auto Cst = getIConstantVRegValWithLookThrough( in matchFoldGlobalOffset() local
H A DAArch64InstructionSelector.cpp5467 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedExtLoad() local
5532 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedLoad() local
5579 auto Cst = getIConstantVRegVal(Offset, MRI); in selectIndexedStore() local
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h464 SDValue Cst = DAG.getConstant(16, DL, MVT::i32); in getAddrNonPICSym64() local
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp455 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N)) in matchAddressRecursively() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp598 Constant *Cst; in computeValueKnownInPredecessorsImpl() local
1506 if (Constant *Cst = dyn_cast<Constant>(V)) { in evaluateOnPredecessorEdge() local
H A DReassociate.cpp1895 Constant *Cst = nullptr; in OptimizeExpression() local
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2476 if (auto *Cst = dyn_cast<ConstantSDNode>(N)) in matchAddressRecursively() local
4418 auto *Cst = dyn_cast<ConstantSDNode>(N1); in tryShrinkShlLogicImm() local
5386 auto *Cst = dyn_cast<ConstantSDNode>(N1); in Select() local
H A DX86TargetTransformInfo.cpp4336 if (auto *Cst = dyn_cast<ConstantInt>(Args[1])) in getIntrinsicInstrCost() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4539 if (const auto *Cst = dyn_cast<ConstantInt>(Inst->getOperand(1))) in canGetThrough() local
4562 const auto *Cst = dyn_cast<ConstantInt>(AndInst->getOperand(1)); in canGetThrough() local
4741 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) { in promoteOperandForOther() local
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp860 ConstantInt *Cst; in visitTrunc() local
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8356 ConstantSDNode *Cst = isConstOrConstSplat(Op.getOperand(1)); in MatchFunnelPosNeg() local
10794 if (ConstantSDNode *Cst = isConstOrConstSplat(N2)) { in visitFunnelShift() local
15549 SDValue Cst = DAG.getBitcast(VT, N0.getOperand(0)); in visitBITCAST() local
15574 SDValue Cst = DAG.getBitcast(VT, N0.getOperand(0)); in visitBITCAST() local
21530 if (auto *Cst = dyn_cast<ConstantSDNode>(Value)) in visitSTORE() local
23658 if (auto *Cst = dyn_cast<ConstantSDNode>(Op)) { in convertBuildVecZextToBuildVecWithZeros() local
26967 if (auto *Cst = dyn_cast<ConstantSDNode>(Elt)) in XformToShuffleWithZero() local
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp616 ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N1); in tryShrinkShlLogicImm() local

12