Home
last modified time | relevance | path

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

12

/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCSEMIRBuilder.cpp187 if (std::optional<SmallVector<APInt>> Cst = buildInstr() local
232 if (std::optional<APInt> Cst = ConstantFoldBinOp( buildInstr() local
252 if (std::optional<APFloat> Cst = ConstantFoldFPBinOp( buildInstr() local
273 if (std::optional<APFloat> Cst = ConstantFoldIntToFloat( buildInstr() local
[all...]
H A DCombinerHelper.cpp1694 applyCombineConstantFoldFpUnary(MachineInstr & MI,const ConstantFP * Cst) applyCombineConstantFoldFpUnary() argument
2483 APInt Cst; matchCombineConstPtrAddToI2P() local
2769 auto Cst = matchConstantSelectCmp() local
3388 isConstValidTrue(const TargetLowering & TLI,unsigned ScalarSizeBits,int64_t Cst,bool IsVector,bool IsFP) isConstValidTrue() argument
3453 int64_t Cst; matchNotCmp() local
4128 auto Cst = getIConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); matchExtractVecEltBuildVec() local
4199 auto Cst = getIConstantVRegVal(II.getOperand(2).getReg(), MRI); matchExtractAllEltsFromBuildVector() local
5018 auto Cst = getIConstantVRegValWithLookThrough(AndRHS, MRI); matchNarrowBinopFeedingAnd() local
[all...]
H A DIRTranslator.cpp884 auto Cst = getOrCreateVReg( emitJumpTableHeader() local
2389 ConstantInt *Cst = cast<ConstantInt>(CI.getArgOperand(1)); translateKnownIntrinsic() local
H A DMachineIRBuilder.cpp223 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd() local
/llvm-project/llvm/include/llvm/MC/
H A DMCValue.h38 int64_t Cst = 0; variable
/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h392 int64_t Cst; global() variable
398 RegOrConstant(int64_t Cst) RegOrConstant() argument
H A DMIPatternMatch.h93 inline ConstantMatch<APInt> m_ICst(APInt &Cst) { in m_ICst() argument
96 inline ConstantMatch<int64_t> m_ICst(int64_t &Cst) { in m_ICst() argument
134 inline ICstOrSplatMatch<APInt> m_ICstOrSplat(APInt &Cst) { in m_ICstOrSplat() argument
138 inline ICstOrSplatMatch<int64_t> m_ICstOrSplat(int64_t &Cst) { in m_ICstOrSplat() argument
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp272 shouldConvertUse(const Constant * Cst,const Instruction * Instr,unsigned OpIdx) shouldConvertUse() argument
338 shouldConvertImpl(const Constant * Cst) shouldConvertImpl() argument
565 Constant *Cst = dyn_cast<Constant>(U); runOnFunction() local
[all...]
H A DAArch64StackTagging.cpp176 uint64_t Cst = 0x0101010101010101UL; applyMemSet() local
/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp81 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) { SelectGlobalValueConstantOffset() local
H A DR600ISelLowering.cpp778 return Cst->isZero(); in isZero() local
2008 Consts.push_back(Cst->getZExtValue()); in FoldOperand() local
/llvm-project/llvm/unittests/CodeGen/GlobalISel/
H A DConstantFoldingTest.cpp27 int64_t Cst; in TEST_F() local
H A DPatternMatchTest.cpp37 int64_t Cst; in TEST_F() local
65 int64_t Cst; in TEST_F() local
151 int64_t Cst; TEST_F() local
[all...]
/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerLowering.cpp397 auto Cst = applyEXT() local
515 auto Cst = getAArch64VectorSplatScalar(*MI, MRI); isVShiftRImm() local
681 auto Cst = MIB.buildConstant(MRI.cloneVirtualRegister(RHS.getReg()), applyAdjustICmpImmAndPred() local
800 int64_t Cst = Splat->getCst(); matchBuildVectorToDup() local
[all...]
H A DAArch64PreLegalizerCombiner.cpp159 auto Cst = getIConstantVRegValWithLookThrough( matchFoldGlobalOffset() local
H A DAArch64PostLegalizerCombiner.cpp73 auto Cst = getIConstantVRegValWithLookThrough(Src2, MRI); in matchExtractVecEltPairwiseAdd() local
H A DAArch64InstructionSelector.cpp5404 auto Cst = getIConstantVRegVal(Offset, MRI); selectIndexedExtLoad() local
5469 auto Cst = getIConstantVRegVal(Offset, MRI); selectIndexedLoad() local
5516 auto Cst = getIConstantVRegVal(Offset, MRI); selectIndexedStore() local
/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h464 SDValue Cst = DAG.getConstant(16, DL, MVT::i32); getAddrNonPICSym64() local
/llvm-project/llvm/tools/llvm-c-test/
H A Decho.cpp253 check_value_kind(Ret, LLVMGetValueKind(Cst)); in clone_constant() argument
259 clone_constant_impl(LLVMValueRef Cst,LLVMModuleRef M) clone_constant_impl() argument
[all...]
/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp455 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N)) in matchAddressRecursively() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp598 if (!PredCst && match(V, m_Cmp(Pred, m_Value(Val), m_Constant(Cst)))) in computeValueKnownInPredecessorsImpl() local
1506 return Cst; in evaluateOnPredecessorEdge() local
H A DReassociate.cpp1895 Constant *Cst = nullptr; OptimizeExpression() local
[all...]
/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2475 if (auto *Cst = dyn_cast<ConstantSDNode>(N)) matchAddressRecursively() local
4417 auto *Cst = dyn_cast<ConstantSDNode>(N1); tryShrinkShlLogicImm() local
5385 auto *Cst = dyn_cast<ConstantSDNode>(N1); Select() local
[all...]
/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4539 if (const auto *Cst = dyn_cast<ConstantInt>(Inst->getOperand(1))) canGetThrough() local
4562 const auto *Cst = dyn_cast<ConstantInt>(AndInst->getOperand(1)); canGetThrough() local
4741 if (const ConstantInt *Cst = dyn_cast<ConstantInt>(Opnd)) { promoteOperandForOther() local
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp860 ConstantInt *Cst; visitTrunc() local

12