/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CSEMIRBuilder.cpp | 187 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 D | CombinerHelper.cpp | 1694 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 D | IRTranslator.cpp | 884 auto Cst = getOrCreateVReg( emitJumpTableHeader() local 2389 ConstantInt *Cst = cast<ConstantInt>(CI.getArgOperand(1)); translateKnownIntrinsic() local
|
H A D | MachineIRBuilder.cpp | 223 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd() local
|
/llvm-project/llvm/include/llvm/MC/ |
H A D | MCValue.h | 38 int64_t Cst = 0; variable
|
/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | Utils.h | 392 int64_t Cst; global() variable 398 RegOrConstant(int64_t Cst) RegOrConstant() argument
|
H A D | MIPatternMatch.h | 93 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 D | AArch64PromoteConstant.cpp | 272 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 D | AArch64StackTagging.cpp | 176 uint64_t Cst = 0x0101010101010101UL; applyMemSet() local
|
/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelDAGToDAG.cpp | 81 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(Addr)) { SelectGlobalValueConstantOffset() local
|
H A D | R600ISelLowering.cpp | 778 return Cst->isZero(); in isZero() local 2008 Consts.push_back(Cst->getZExtValue()); in FoldOperand() local
|
/llvm-project/llvm/unittests/CodeGen/GlobalISel/ |
H A D | ConstantFoldingTest.cpp | 27 int64_t Cst; in TEST_F() local
|
H A D | PatternMatchTest.cpp | 37 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 D | AArch64PostLegalizerLowering.cpp | 397 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 D | AArch64PreLegalizerCombiner.cpp | 159 auto Cst = getIConstantVRegValWithLookThrough( matchFoldGlobalOffset() local
|
H A D | AArch64PostLegalizerCombiner.cpp | 73 auto Cst = getIConstantVRegValWithLookThrough(Src2, MRI); in matchExtractVecEltPairwiseAdd() local
|
H A D | AArch64InstructionSelector.cpp | 5404 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 D | MipsISelLowering.h | 464 SDValue Cst = DAG.getConstant(16, DL, MVT::i32); getAddrNonPICSym64() local
|
/llvm-project/llvm/tools/llvm-c-test/ |
H A D | echo.cpp | 253 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 D | M68kISelDAGToDAG.cpp | 455 if (ConstantSDNode *Cst = dyn_cast<ConstantSDNode>(N)) in matchAddressRecursively() local
|
/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 598 if (!PredCst && match(V, m_Cmp(Pred, m_Value(Val), m_Constant(Cst)))) in computeValueKnownInPredecessorsImpl() local 1506 return Cst; in evaluateOnPredecessorEdge() local
|
H A D | Reassociate.cpp | 1895 Constant *Cst = nullptr; OptimizeExpression() local [all...] |
/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 2475 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 D | CodeGenPrepare.cpp | 4539 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 D | InstCombineCasts.cpp | 860 ConstantInt *Cst; visitTrunc() local
|