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.h1090 const ConstantInt *ConstIdx = dyn_cast<ConstantInt>(*I); in getGEPCost() local
1091 if (!ConstIdx) in getGEPCost()
1093 ConstIdx = dyn_cast<ConstantInt>(Splat); in getGEPCost()
1096 assert(ConstIdx && "Unexpected GEP index"); in getGEPCost()
1097 uint64_t Field = ConstIdx->getZExtValue(); in getGEPCost()
1106 if (ConstIdx) { in getGEPCost()
1108 ConstIdx->getValue().sextOrTrunc(PtrSizeBits) * ElementSize; in getGEPCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStraightLineStrengthReduce.cpp311 ConstantInt *ConstIdx = dyn_cast<ConstantInt>(Idx); in hasOnlyOneNonZeroIndex() local
312 if (ConstIdx == nullptr || !ConstIdx->isZero()) in hasOnlyOneNonZeroIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCombinerHelper.h474 bool matchConstantLargerBitWidth(MachineInstr &MI, unsigned ConstIdx);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp773 unsigned ConstIdx = 1; in tryFoldInstWithCtpopWithNot() local
781 ConstIdx = 0; in tryFoldInstWithCtpopWithNot()
800 if (!match(I->getOperand(1 - ConstIdx), in tryFoldInstWithCtpopWithNot()
806 if (!match(I->getOperand(ConstIdx), m_ImmConstant(C))) in tryFoldInstWithCtpopWithNot()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2915 unsigned ConstIdx) { in matchConstantLargerBitWidth() argument
2916 Register ConstReg = MI.getOperand(ConstIdx).getReg(); in matchConstantLargerBitWidth()