Home
last modified time | relevance | path

Searched refs:Log2_32 (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp61 Log2Size = Log2_32(1); in getAArch64FixupKindMachOInfo()
64 Log2Size = Log2_32(2); in getAArch64FixupKindMachOInfo()
67 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
72 Log2Size = Log2_32(8); in getAArch64FixupKindMachOInfo()
82 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
97 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
116 Log2Size = Log2_32(4); in getAArch64FixupKindMachOInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp67 Log2Size = llvm::Log2_32(1); in getARMFixupKindMachOInfo()
70 Log2Size = llvm::Log2_32(2); in getARMFixupKindMachOInfo()
73 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
76 Log2Size = llvm::Log2_32(8); in getARMFixupKindMachOInfo()
95 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
102 Log2Size = llvm::Log2_32(4); in getARMFixupKindMachOInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DRISCVTargetParser.h115 unsigned LmulLog2 = Log2_32(LMUL); in encodeLMUL()
126 return Log2_32(SEW) - 3; in encodeSEW()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DNativeRegisterContextDBReg_loongarch.cpp62 size_t encoded_size = (3 - llvm::Log2_32(size)) << 10; in MakeWatchControlValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp313 unsigned Stages = Log2_32(NumSplits); in trySADReplacement()
371 unsigned Stages = Log2_32(NumElems); in matchAddReduction()
H A DX86SpeculativeLoadHardening.cpp1864 unsigned RegIdx = Log2_32(RegBytes); in canHardenRegister()
1914 unsigned SubRegImm = SubRegImms[Log2_32(Bytes)]; in hardenValueInRegister()
1927 unsigned OrOpCode = OrOpCodes[Log2_32(Bytes)]; in hardenValueInRegister()
H A DX86CallFrameOptimization.cpp245 Log2SlotSize = Log2_32(SlotSize); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp371 unsigned IndexLog2EEW = Log2_32(IndexVT.getScalarSizeInBits()); in selectVLXSEG()
444 unsigned IndexLog2EEW = Log2_32(IndexVT.getScalarSizeInBits()); in selectVSXSEG()
906 unsigned Log2SEW = Log2_32(Node->getConstantOperandVal(6)); in selectSF_VC_X_SE()
1919 Log2_32(Src1VT.getScalarSizeInBits()), DL, XLenVT); in Select()
2018 Log2_32(Src1VT.getScalarSizeInBits()), DL, XLenVT); in Select()
2204 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
2220 unsigned IndexLog2EEW = Log2_32(IndexVT.getScalarSizeInBits()); in Select()
2247 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
2287 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
2317 unsigned Log2SEW = Log2_32(VT.getScalarSizeInBits()); in Select()
[all …]
H A DRISCVOptWInstrs.cpp260 if (Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers()
272 if (OpIdx == 2 && Bits >= Log2_32(ST.getXLen())) in hasAllNBitUsers()
H A DRISCVRegisterInfo.cpp439 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVSPILL()
522 uint32_t ShiftAmount = Log2_32(LMUL); in lowerVRELOAD()
H A DRISCVInterleavedAccess.cpp386 return KB.countMinTrailingZeros() >= Log2_32(N); in isMultipleOfN()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DRISCVTargetParser.cpp178 unsigned TWiden = Log2_32(Widen) + 1; in encodeXSfmmVType()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp776 return (Log2_32(Bits1) - Log2_32(Bits0)); in getElSizeLog2Diff()
778 return (Log2_32(Bits0) - Log2_32(Bits1)); in getElSizeLog2Diff()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchOptWInstrs.cpp253 if (Bits >= Log2_32(ST.getGRLen())) in hasAllNBitUsers()
264 if (OpIdx == 2 && Bits >= Log2_32(ST.getGRLen())) in hasAllNBitUsers()
H A DLoongArchISelDAGToDAG.cpp303 if (lsb == 0 && Log2_32(ShiftWidth) <= msb + 1) { in selectShiftMask()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DRegisterBankEmitter.cpp297 uint32_t BitSize = NextPowerOf2(Log2_32(NumRegBanks)); in emitBaseClassImplementation()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp367 return Log2_32(Offset) << ELF::STO_PPC64_LOCAL_BIT; in encodePPC64LocalEntryOffset()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp1057 unsigned Shift = Log2_32(SegLen); in getInputSegmentList()
1116 unsigned Shift = Log2_32(SegLen); in packSegmentMask()
2230 assert(isPowerOf2_32(VecLen) && Log2_32(VecLen) <= 8); in perfect()
2231 unsigned LogLen = Log2_32(VecLen); in perfect()
2232 unsigned HwLog = Log2_32(HwLen); in perfect()
2338 Perm[I] = Log2_32(Pick[I]); in perfect()
H A DHexagonPatterns.td202 def Log2_32: SDNodeXForm<imm, [{
204 return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32);
214 return CurDAG->getTargetConstant(Log2_32(NV), SDLoc(N), MVT::i32);
1963 (S2_setbit_i IntRegs:$Rs, (Log2_32 $V))>;
1965 (S2_togglebit_i IntRegs:$Rs, (Log2_32 $V))>;
2050 (S4_ntstbit_i I32:$Rs, (Log2_32 imm:$u5))>;
2052 (S2_tstbit_i I32:$Rs, (Log2_32 imm:$u5))>;
2091 (I1toI32 (S4_ntstbit_i I32:$Rs, (Log2_32 imm:$u5)))>;
2093 (I1toI32 (S2_tstbit_i I32:$Rs, (Log2_32 imm:$u5)))>;
3042 return CurDAG->getTargetConstant(Log2_32(V), SDLoc(N), MVT::i32);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp558 unsigned MaxShiftAmountWidth = Log2_32(NarrowWidth); in narrowFunnelShift()
931 if (AWidth == DestWidth && AWidth > Log2_32(SrcWidth)) { in visitTrunc()
945 if (Log2_32(*MaxVScale) < DestWidth) in visitTrunc()
1320 if (Log2_32(*MaxVScale) < TypeWidth) in visitZExt()
1609 if (Log2_32(*MaxVScale) < (SrcBitSize - 1)) in visitSExt()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp3039 I.setDesc(TII.get(Opcodes[Log2_32(MemSizeInBytes)])); in select()
3051 I.setDesc(TII.get(Opcodes[Log2_32(MemSizeInBytes)])); in select()
5672 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5674 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5683 Opc = FPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5685 Opc = GPROpcodes[Log2_32(MemSize)]; in selectIndexedLoad()
5717 Opc = FPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
5719 Opc = GPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
5729 Opc = FPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
5731 Opc = GPROpcodes[Log2_32(ValTy.getSizeInBytes())]; in selectIndexedStore()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILFlattenArrays.cpp333 VI = Builder.CreateLShr(VI, Builder.getInt32(Log2_32(BytesPerElem))); in visitGetElementPtrInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp588 if (InputBits - Log2_32(InputBits) != ShiftConst && in tryToRecognizeTableBasedCttz()
589 InputBits - Log2_32(InputBits) - 1 != ShiftConst) in tryToRecognizeTableBasedCttz()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h598 assert(llvm::Log2_32(Align) <= 13 && "alignment requested is too large"); in setAlignment()
599 AlignBits = (llvm::Log2_32(Align) + 1) << 20; in setAlignment()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsLegalizerInfo.cpp362 P2HalfMemSize = 1 << Log2_32(MemSize); in legalizeCustom()

1234