Home
last modified time | relevance | path

Searched refs:ConstInt (Results 1 – 6 of 6) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp356 ConstantInt *ConstInt) { in collectConstantCandidates() argument
362 ConstInt->getValue(), ConstInt->getType()); in collectConstantCandidates()
371 ConstPtrUnionType Cand = ConstInt; in collectConstantCandidates()
613 ConstantInt *ConstInt = MaxCostItr->ConstInt; in findAndMakeBaseConstant() local
616 ConstInfo.BaseInt = ConstInt; in findAndMakeBaseConstant()
618 Type *Ty = ConstInt->getType(); in findAndMakeBaseConstant()
622 APInt Diff = ConstCand->ConstInt->getValue() - ConstInt->getValue(); in findAndMakeBaseConstant()
645 if (LHS.ConstInt->getType() != RHS.ConstInt->getType()) in findBaseConstants()
648 return LHS.ConstInt->getValue().ult(RHS.ConstInt->getValue()); in findBaseConstants()
656 if (MinValItr->ConstInt->getType() == CC->ConstInt->getType()) { in findBaseConstants()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h83 ConstantInt *ConstInt; member
87 ConstantCandidate(ConstantInt *ConstInt, ConstantExpr *ConstExpr=nullptr) :
88 ConstInt(ConstInt), ConstExpr(ConstExpr) {} in ConstInt() function
173 ConstantInt *ConstInt);
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCLoopPreIncPrep.cpp305 const APInt &ConstInt = StepConst->getValue()->getValue(); in runOnLoop() local
306 if (ConstInt.isSignedIntN(16) && ConstInt.srem(4) != 0) in runOnLoop()
H A DPPCFastISel.cpp854 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(SrcValue2)) { in PPCEmitCmp() local
857 const APInt &CIVal = ConstInt->getValue(); in PPCEmitCmp()
1306 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(I->getOperand(1))) { in SelectBinaryIntOp() local
1307 const APInt &CIVal = ConstInt->getValue(); in SelectBinaryIntOp()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLocal.cpp1652 auto *ConstInt = dyn_cast<ConstantInt>(I.getOperand(1)); in salvageDebugInfo() local
1653 if (!ConstInt || ConstInt->getBitWidth() > 64) in salvageDebugInfo()
1656 uint64_t Val = ConstInt->getSExtValue(); in salvageDebugInfo()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1372 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(Src2Value)) { in ARMEmitCmp() local
1375 const APInt &CIVal = ConstInt->getValue(); in ARMEmitCmp()
1643 if (const ConstantInt *ConstInt = dyn_cast<ConstantInt>(I->getOperand(2))) { in SelectSelect() local
1645 Imm = (int)ConstInt->getValue().getZExtValue(); in SelectSelect()