Searched refs:Imm (Results 226 - 244 of 244) sorted by relevance

12345678910

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp3262 bool HexagonTargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT, argument
3316 bool HexagonTargetLowering::isLegalICmpImmediate(int64_t Imm) const {
3317 return Imm >= -512 && Imm <= 511;
H A DHexagonBitSimplify.cpp2127 int32_t Imm = MI->getOperand(2).getImm();
2128 if (isInt<10>(Imm))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp508 bool VETargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT, argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1372 int64_t Imm = MI->getOperand(2).getImm(); local
1373 if (Imm <= 0)
1375 if (Imm >= SrcTy.getScalarSizeInBits())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMExpandPseudoInsts.cpp923 unsigned Imm = MO.getImm(); local
924 unsigned Lo16 = Imm & 0xffff;
925 unsigned Hi16 = (Imm >> 16) & 0xffff;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp820 bool SystemZTargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT, argument
823 if (Imm.isZero() || Imm.isNegZero())
826 return SystemZVectorConstantInfo(Imm).isVectorConstantLegal(Subtarget);
838 bool SystemZTargetLowering::isLegalICmpImmediate(int64_t Imm) const {
840 return isInt<32>(Imm) || isUInt<32>(Imm);
843 bool SystemZTargetLowering::isLegalAddImmediate(int64_t Imm) const {
845 return isUInt<32>(Imm) || isUInt<32>(-Imm);
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp3097 unsigned Imm = cast<ConstantInt>(I.getArgOperand(2))->getZExtValue();
3100 getPclmulMask(Width, Imm & 0x01));
3103 getPclmulMask(Width, Imm & 0x10));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp939 unsigned Imm = MI->getOperand(3).getImm() & 0x7; local
940 switch (Imm) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h993 virtual bool isFPImmLegal(const APFloat & /*Imm*/, EVT /*VT*/,
2695 virtual bool shouldConvertConstantLoadToIntImm(const APInt &Imm, argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3666 APInt Imm = APInt::getLowBitsSet(ExtDstTyBits, ExtSrcTyBits); local
3668 DAG.getConstant(Imm, dl, Op0Ty));
7210 APInt Imm = APInt::getLowBitsSet(IdxVT.getSizeInBits(),
7213 DAG.getConstant(Imm, dl, IdxVT));
H A DDAGCombiner.cpp6441 auto IsBinOpImm = [](SDValue Op, unsigned BinOpc, unsigned Imm) {
6445 return Cst && (Cst->getAPIntValue() == Imm);
15688 APInt Imm = cast<ConstantSDNode>(N1)->getAPIntValue(); local
15690 Imm ^= APInt::getAllOnesValue(BitWidth);
15691 if (Imm == 0 || Imm.isAllOnesValue())
15693 unsigned ShAmt = Imm.countTrailingZeros();
15694 unsigned MSB = BitWidth - Imm.countLeadingZeros() - 1;
15715 if ((Imm & Mask) == Imm) {
[all...]
H A DSelectionDAG.cpp1183 APInt Imm = APInt::getLowBitsSet(OpVT.getScalarSizeInBits(),
1185 return getNode(ISD::AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5769 // It's possible to have a SizeDirective, Imm/ImmPrefix and an Input/Output
5771 // performed first, then the Imm/ImmPrefix and finally the Input/Output. This
5980 if (AR.IntelExp.Imm || AR.IntelExp.emitImm())
5981 OS << (AR.IntelExp.emitImm() ? "$$" : " + $$") << AR.IntelExp.Imm;
H A DMasmParser.cpp6525 // It's possible to have a SizeDirective, Imm/ImmPrefix and an Input/Output
6527 // performed first, then the Imm/ImmPrefix and finally the Input/Output. This
6801 if (AR.IntelExp.Imm || AR.IntelExp.emitImm())
6802 OS << (AR.IntelExp.emitImm() ? "$$" : " + $$") << AR.IntelExp.Imm;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp1312 if (Optional<int64_t> Imm = getConstantVRegVal(CombinedOffset, *MRI)) {
1314 if (AMDGPU::splitMUBUFOffset(*Imm, SOffset, ImmOffset, &RBI.Subtarget,
H A DSIISelLowering.cpp1488 bool SITargetLowering::shouldConvertConstantLoadToIntImm(const APInt &Imm, argument
7643 uint32_t Imm = C->getZExtValue(); local
7645 if (AMDGPU::splitMUBUFOffset(Imm, SOffset, ImmOffset, Subtarget,
H A DAMDGPUISelLowering.cpp699 bool AMDGPUTargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT, argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp2090 llvm::APSInt Imm;
2091 if (SemaBuiltinConstantArg(TheCall, ArgNum, Imm))
2094 if (!CheckImm(Imm.getSExtValue()))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3383 int64_t Imm = MI.getOperand(2).getImm(); local
3392 R = MIRBuilder.buildSExtInReg(NarrowTy, R, Imm).getReg(0);

Completed in 704 milliseconds

12345678910