Home
last modified time | relevance | path

Searched refs:ConstIdx (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h1262 const ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in getGEPCost() local
1263 if (!ConstIdx) in getGEPCost()
1265 ConstIdx = dyn_cast<ConstantInt>(Splat); in getGEPCost()
1268 assert(ConstIdx && "Unexpected GEP index"); in getGEPCost()
1269 uint64_t Field = ConstIdx->getZExtValue(); in getGEPCost()
1278 if (ConstIdx) { in getGEPCost()
1280 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp315 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(Idx); in hasOnlyOneNonZeroIndex() local
316 if (ConstIdx == nullptr || !ConstIdx->isZero()) in hasOnlyOneNonZeroIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h500 bool matchConstantLargerBitWidth(MachineInstr &MI, unsigned ConstIdx) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp802 unsigned ConstIdx = 1; in tryFoldInstWithCtpopWithNot() local
810 ConstIdx = 0; in tryFoldInstWithCtpopWithNot()
829 if (!match(I->getOperand(1 - ConstIdx), in tryFoldInstWithCtpopWithNot()
835 if (!match(I->getOperand(ConstIdx), m_ImmConstant(C))) in tryFoldInstWithCtpopWithNot()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2942 unsigned ConstIdx) const { in matchConstantLargerBitWidth()
2943 Register ConstReg = MI.getOperand(ConstIdx).getReg(); in matchConstantLargerBitWidth()