Searched refs:CstVal (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | Utils.cpp | 267 const MachineOperand &CstVal = MI.getOperand(1); 268 if (!CstVal.isImm() && !CstVal.isCImm() && 269 (!HandleFConstant || !CstVal.isFPImm())) 271 if (!CstVal.isFPImm()) { 274 APInt Val = CstVal.isImm() ? APInt(BitWidth, CstVal.getImm()) 275 : CstVal.getCImm()->getValue(); 280 return CstVal.getFPImm()->getValueAPF().bitcastToAPInt();
|
H A D | GISelKnownBits.cpp | 200 auto CstVal = getConstantVRegVal(R, MRI); local 201 if (!CstVal) 203 Known.One = *CstVal;
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizationArtifactCombiner.h | 86 auto &CstVal = SrcMI->getOperand(1); local 88 DstReg, CstVal.getCImm()->getValue().sext(DstTy.getSizeInBits())); 143 auto &CstVal = SrcMI->getOperand(1); local 145 DstReg, CstVal.getCImm()->getValue().zext(DstTy.getSizeInBits())); 212 auto &CstVal = SrcMI->getOperand(1); local 214 DstReg, CstVal.getCImm()->getValue().trunc(DstTy.getSizeInBits()));
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 475 int64_t CstVal = cast<ConstantInt>(OpRHSB->getOperand(1))->getSExtValue(); local 476 if (OpRHSB->getOperand(0) == RHSA && IdxDiff.getSExtValue() == CstVal) 482 int64_t CstVal = cast<ConstantInt>(OpRHSA->getOperand(1))->getSExtValue(); local 483 if (OpRHSA->getOperand(0) == RHSB && IdxDiff.getSExtValue() == -CstVal)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64InstructionSelector.cpp | 5524 Optional<int64_t> CstVal = getConstantVRegVal(MI.getOperand(0).getReg(), MRI); 5525 assert(CstVal && "Expected constant value"); 5526 MIB.addImm(CstVal.getValue()); 5533 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); 5534 uint64_t Enc = AArch64_AM::encodeLogicalImmediate(CstVal, 32); 5542 uint64_t CstVal = I.getOperand(1).getCImm()->getZExtValue(); 5543 uint64_t Enc = AArch64_AM::encodeLogicalImmediate(CstVal, 64);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 4177 APInt CstVal = IsSExt ? Cst->getValue().sext(BitWidth) local 4179 TPT.setOperand(ExtOpnd, OpIdx, ConstantInt::get(Ext->getType(), CstVal)); 6913 if (ConstantInt *CstVal = dyn_cast<ConstantInt>(ValExtractIdx)) 6914 ExtractIdx = CstVal->getSExtValue();
|
Completed in 403 milliseconds