Home
last modified time | relevance | path

Searched refs:DestBits (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp3172 TypeSize DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() local
3176 if (SrcBits.getKnownMinValue() == 0 || DestBits.getKnownMinValue() == 0) in isBitCastable()
3179 if (SrcBits != DestBits) in isBitCastable()
3229 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() local
3234 if (DestBits < SrcBits) in getCastOpcode()
3236 else if (DestBits > SrcBits) { // its an extension in getCastOpcode()
3250 assert(DestBits == SrcBits && in getCastOpcode()
3265 if (DestBits < SrcBits) { in getCastOpcode()
3267 } else if (DestBits > SrcBits) { in getCastOpcode()
3273 assert(DestBits == SrcBits && in getCastOpcode()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2746 unsigned DestBits = DestVT.getSizeInBits(); in ARMEmitIntExt() local
2747 (void) DestBits; in ARMEmitIntExt()
2748 assert((SrcBits < DestBits) && "can only extend to larger types"); in ARMEmitIntExt()
2749 assert((DestBits == 32 || DestBits == 16 || DestBits == 8) && in ARMEmitIntExt()
H A DARMISelLowering.cpp19287 unsigned DestBits = DstTy->getPrimitiveSizeInBits(); in isTruncateFree() local
19288 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
19296 unsigned DestBits = DstVT.getSizeInBits(); in isTruncateFree() local
19297 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp14488 unsigned DestBits = VT.getScalarSizeInBits(); in visitSIGN_EXTEND() local
14492 if (OpBits == DestBits) { in visitSIGN_EXTEND()
14498 if (OpBits < DestBits) { in visitSIGN_EXTEND()
14515 if (OpBits < DestBits) in visitSIGN_EXTEND()
14517 else if (OpBits > DestBits) in visitSIGN_EXTEND()
14779 unsigned DestBits = VT.getScalarSizeInBits(); in visitZERO_EXTEND() local
14783 if (OpBits == DestBits) { in visitZERO_EXTEND()
14789 if (OpBits < DestBits) { in visitZERO_EXTEND()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2068 unsigned DestBits = DstTy->getPrimitiveSizeInBits(); in isTruncateFree() local
2069 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
2079 unsigned DestBits = DstVT.getSizeInBits(); in isTruncateFree() local
2080 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
2090 unsigned DestBits = VT2.getVectorElementType().getSizeInBits(); in isTruncateFree() local
2091 if (SrcBits == DestBits * 2) { in isTruncateFree()