| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 886 auto K = MIRBuilder.buildConstant( in narrowScalar() 2664 auto OffsetMask = B.buildConstant( in getBitcastWiderVectorElementOffset() 2797 auto EltMask = B.buildConstant( in buildBitFieldInsert() 3046 auto OffsetCst = MIRBuilder.buildConstant( in lowerStore() 4724 Lo = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() 4728 Lo = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() 4744 Hi = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() 4747 Hi = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() 5752 auto C_1 = B.buildConstant(Ty, 1); in lowerBitCount() 5761 auto C_2 = B.buildConstant(Ty, 2); in lowerBitCount() [all …]
|
| H A D | CSEMIRBuilder.cpp | 192 return buildConstant(DstOps[0], *Cst); in buildInstr() 203 return buildConstant(Dst, *MaybeCst); in buildInstr() 244 MachineInstrBuilder CSEMIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in CSEMIRBuilder 248 return MachineIRBuilder::buildConstant(Res, Val); in buildConstant() 253 return buildSplatVector(Res, buildConstant(Ty.getElementType(), Val)); in buildConstant() 267 MachineInstrBuilder NewMIB = MachineIRBuilder::buildConstant(Res, Val); in buildConstant()
|
| H A D | CombinerHelper.cpp | 1079 auto True = Builder.buildConstant( in applyOptBrCondByInvertingCond() 1193 return MIB.buildConstant(Ty, 0).getReg(0); in getMemsetValue() 1809 Builder.buildConstant(MI.getOperand(0), 0); in applyShiftImmedChain() 2129 Builder.buildConstant(DstReg, Csts[Idx]); in applyCombineUnmergeConstant() 2280 auto Zero = Builder.buildConstant(HalfTy, 0); in applyCombineShiftToUnmerge() 2293 auto Zero = Builder.buildConstant(HalfTy, 0); in applyCombineShiftToUnmerge() 2435 Builder.buildConstant(Dst, NewCst); in applyCombineConstPtrAddToI2P() 2805 Builder.buildConstant(MI.getOperand(0), C); in replaceInstWithConstant() 2813 Builder.buildConstant(MI.getOperand(0), C); in replaceInstWithConstant() 3072 auto Zero = B.buildConstant(Ty, 0); in matchOverlappingAnd() [all …]
|
| H A D | MachineIRBuilder.cpp | 204 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd() 214 buildConstant(MaskReg, maskTrailingZeros<uint64_t>(NumBits)); in buildMaskLowPtrBits() 255 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in MachineIRBuilder 276 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in MachineIRBuilder 281 return buildConstant(Res, *CI); in buildConstant() 310 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in MachineIRBuilder 313 return buildConstant(Res, *CI); in buildConstant() 382 auto ConstOffset = buildConstant(OffsetTy, Offset); in buildLoadFromOffset() 491 auto Mask = buildConstant( in buildZExtInReg() 663 auto Zero = buildConstant(LLT::scalar(64), 0); in buildShuffleSplat()
|
| H A D | IRTranslator.cpp | 776 auto FirstCst = MIB.buildConstant(SwitchTy, JTH.First); in emitJumpTableHeader() 864 auto Diff = MIB.buildConstant(CmpTy, High - Low); in emitSwitchCase() 1034 auto RangeCst = MIB.buildConstant(SwitchOpTy, B.Range); in emitBitTestHeader() 1072 auto CstOne = MIB.buildConstant(SwitchTy, 1); in emitBitTestCase() 1076 auto CstMask = MIB.buildConstant(SwitchTy, B.Mask); in emitBitTestCase() 1078 auto CstZero = MIB.buildConstant(SwitchTy, 0); in emitBitTestCase() 1538 auto ElementSizeMIB = MIRBuilder.buildConstant( in translateGetElementPtr() 1551 MIRBuilder.buildConstant(OffsetTy, Offset); in translateGetElementPtr() 2060 MIRBuilder.buildConstant(Reg, TypeID); in translateKnownIntrinsic() 2930 EntryBuilder->buildConstant(Reg, *CI); in translate() [all …]
|
| H A D | CallLowering.cpp | 1058 auto SizeConst = MIRBuilder.buildConstant(SizeTy, MemSize); in copyArgumentMemory()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CSEMIRBuilder.h | 98 using MachineIRBuilder::buildConstant; 100 MachineInstrBuilder buildConstant(const DstOp &Res,
|
| H A D | LegalizationArtifactCombiner.h | 91 Builder.buildConstant( in tryCombineAnyExt() 124 auto Mask = Builder.buildConstant( in tryCombineZExt() 151 Builder.buildConstant( in tryCombineZExt() 206 Builder.buildConstant( in tryCombineSExt() 233 Builder.buildConstant( in tryCombineTrunc() 345 Builder.buildConstant(DstReg, 0); in tryFoldImplicitDef()
|
| H A D | MachineIRBuilder.h | 773 virtual MachineInstrBuilder buildConstant(const DstOp &Res, 784 MachineInstrBuilder buildConstant(const DstOp &Res, int64_t Val); 785 MachineInstrBuilder buildConstant(const DstOp &Res, const APInt &Val); 1536 auto NegOne = buildConstant(Dst.getLLTTy(*getMRI()), -1); in buildNot()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64PostLegalizerCombiner.cpp | 104 auto Elt0 = B.buildExtractVectorElement(Ty, Src, B.buildConstant(s64, 0)); in applyExtractVecEltPairwiseAdd() 105 auto Elt1 = B.buildExtractVectorElement(Ty, Src, B.buildConstant(s64, 1)); in applyExtractVecEltPairwiseAdd() 212 auto Shift = B.buildConstant(LLT::scalar(64), ShiftAmt); in matchAArch64MulConstCombine() 222 B.buildSub(DstReg, B.buildConstant(Ty, 0), Res); in matchAArch64MulConstCombine() 227 B.buildShl(DstReg, Res, B.buildConstant(LLT::scalar(64), TrailingZeroes)); in matchAArch64MulConstCombine()
|
| H A D | AArch64PreLegalizerCombiner.cpp | 57 MIB.buildConstant(MI.getOperand(0).getReg(), ImmValAPF.bitcastToAPInt()); in applyFConstantToConstant() 103 auto WideZero = Builder.buildConstant(WideTy, 0); in applyICmpRedundantTrunc() 219 B.buildConstant(LLT::scalar(64), -static_cast<int64_t>(MinOffset))); in applyFoldGlobalOffset()
|
| H A D | AArch64PostLegalizerLowering.cpp | 411 MIRBuilder.buildConstant(LLT::scalar(32), MatchInfo.SrcOps[2].getImm()); in applyEXT() 465 auto SrcCst = Builder.buildConstant(LLT::scalar(64), SrcLane); in applyINS() 467 auto DstCst = Builder.buildConstant(LLT::scalar(64), DstLane); in applyINS() 506 auto ImmDef = MIB.buildConstant(LLT::scalar(32), Imm); in applyVAshrLshrImm() 635 auto Cst = MIB.buildConstant(MRI.cloneVirtualRegister(RHS.getReg()), in applyAdjustICmpImmAndPred() 703 auto Lane = B.buildConstant(LLT::scalar(64), MatchInfo.second); in applyDupLane()
|
| H A D | AArch64LegalizerInfo.cpp | 967 auto ExtCst = MIRBuilder.buildConstant(LLT::scalar(64), Amount); in legalizeShlAshrLshr() 1037 MIRBuilder.buildConstant(IntPtrTy, Alignment.value() - 1); in legalizeVaArg() 1050 auto Size = MIRBuilder.buildConstant(IntPtrTy, alignTo(ValSize, PtrAlign)); in legalizeVaArg()
|
| H A D | AArch64CallLowering.cpp | 253 auto OffsetReg = MIRBuilder.buildConstant(s64, Offset); in getStackAddress()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterBankInfo.cpp | 135 auto False = B.buildConstant(S32, 0); in applyBank() 1575 auto Zero = B.buildConstant(S32, 0); in applyMappingBFE() 1773 BaseReg = B.buildConstant(S32, 0).getReg(0); in splitBufferOffsets() 1931 B.buildConstant(Hi32Reg, 0); in extendLow32IntoHigh32() 2003 auto IC = B.buildConstant(S32, I); in foldExtractEltToCmpSelect() 2104 auto IC = B.buildConstant(S32, I); in foldInsertEltToCmpSelect() 2577 auto False = B.buildConstant(SelType, 0); in applyMappingImpl() 2637 auto ShiftAmt = B.buildConstant(S32, 16); in applyMappingImpl() 2646 auto ShiftAmt = B.buildConstant(S32, 16); in applyMappingImpl() 2739 auto One = B.buildConstant(S32, 1); in applyMappingImpl() [all …]
|
| H A D | AMDGPULegalizerInfo.cpp | 1869 auto HighAddr = B.buildConstant( in legalizeAddrSpaceCast() 1882 auto FlatNull = B.buildConstant(SrcTy, 0); in legalizeAddrSpaceCast() 2003 auto Const1 = B.buildConstant(S32, ExpBits); in extractF64Exponent() 2078 auto ThirtyTwo = B.buildConstant(S32, 32); in legalizeITOFP() 2408 B.buildConstant( in legalizeGlobalValue() 2901 auto One = B.buildConstant(S32, 1); in legalizeUnsignedDIV_REM32Impl() 2973 auto Zero64 = B.buildConstant(S64, 0); in legalizeUnsignedDIV_REM64Impl() 2994 auto Zero32 = B.buildConstant(S32, 0); in legalizeUnsignedDIV_REM64Impl() 3038 auto One64 = B.buildConstant(S64, 1); in legalizeUnsignedDIV_REM64Impl() 3497 auto C0 = B.buildConstant(S32, 0x6f800000); in legalizeFDIVFastIntrin() [all …]
|
| H A D | AMDGPUPreLegalizerCombiner.cpp | 140 auto MinBoundaryDst = B.buildConstant(S32, MinBoundary); in applyClampI64ToI16() 141 auto MaxBoundaryDst = B.buildConstant(S32, MaxBoundary); in applyClampI64ToI16()
|
| H A D | AMDGPUCallLowering.cpp | 198 auto OffsetReg = MIRBuilder.buildConstant(S32, Offset); in getStackAddress() 395 auto OffsetReg = B.buildConstant(LLT::scalar(64), Offset); in lowerParameterPtr() 860 Y = MIRBuilder.buildShl(S32, Y, MIRBuilder.buildConstant(S32, 10)).getReg(0); in passSpecialInputs() 869 Z = MIRBuilder.buildShl(S32, Z, MIRBuilder.buildConstant(S32, 20)).getReg(0); in passSpecialInputs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsLegalizerInfo.cpp | 377 auto C_P2HalfMemSize = MIRBuilder.buildConstant(s32, P2HalfMemSize); in legalizeCustom() 382 auto C_P2Half_InBits = MIRBuilder.buildConstant(s32, P2HalfMemSize * 8); in legalizeCustom() 406 auto C_P2HalfMemSize = MIRBuilder.buildConstant(s32, P2HalfMemSize); in legalizeCustom() 441 auto C_HiMask = MIRBuilder.buildConstant(s32, UINT32_C(0x43300000)); in legalizeCustom()
|
| H A D | MipsCallLowering.cpp | 234 auto OffsetReg = MIRBuilder.buildConstant(s32, Offset); in getStackAddress()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMLegalizerInfo.cpp | 414 MIRBuilder.buildConstant(OriginalResult, in legalizeCustom() 451 auto Zero = MIRBuilder.buildConstant(LLT::scalar(32), 0); in legalizeCustom() 467 MIRBuilder.buildConstant(MI.getOperand(0), in legalizeCustom()
|
| H A D | ARMCallLowering.cpp | 103 auto OffsetReg = MIRBuilder.buildConstant(s32, Offset); in getStackAddress()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CallLowering.cpp | 99 auto OffsetReg = MIRBuilder.buildConstant(SType, Offset); in getStackAddress()
|