Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp3429 TypeSize DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isBitCastable() local
3433 if (SrcBits.getKnownMinSize() == 0 || DestBits.getKnownMinSize() == 0) in isBitCastable()
3436 if (SrcBits != DestBits) in isBitCastable()
3489 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode() local
3494 if (DestBits < SrcBits) in getCastOpcode()
3496 else if (DestBits > SrcBits) { // its an extension in getCastOpcode()
3510 assert(DestBits == SrcBits && in getCastOpcode()
3525 if (DestBits < SrcBits) { in getCastOpcode()
3527 } else if (DestBits > SrcBits) { in getCastOpcode()
3533 assert(DestBits == SrcBits && in getCastOpcode()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMFastISel.cpp2677 unsigned DestBits = DestVT.getSizeInBits(); in ARMEmitIntExt() local
2678 (void) DestBits; in ARMEmitIntExt()
2679 assert((SrcBits < DestBits) && "can only extend to larger types"); in ARMEmitIntExt()
2680 assert((DestBits == 32 || DestBits == 16 || DestBits == 8) && in ARMEmitIntExt()
H A DARMISelLowering.cpp18899 unsigned DestBits = DstTy->getPrimitiveSizeInBits(); in isTruncateFree() local
18900 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
18908 unsigned DestBits = DstVT.getSizeInBits(); in isTruncateFree() local
18909 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1098 unsigned DestBits = DstTy->getPrimitiveSizeInBits(); in isTruncateFree() local
1099 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
1107 unsigned DestBits = DstVT.getSizeInBits(); in isTruncateFree() local
1108 return (SrcBits == 64 && DestBits == 32); in isTruncateFree()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp12006 unsigned DestBits = VT.getScalarSizeInBits(); in visitSIGN_EXTEND() local
12009 if (OpBits == DestBits) { in visitSIGN_EXTEND()
12012 if (NumSignBits > DestBits-MidBits) in visitSIGN_EXTEND()
12014 } else if (OpBits < DestBits) { in visitSIGN_EXTEND()
12029 if (OpBits < DestBits) in visitSIGN_EXTEND()
12031 else if (OpBits > DestBits) in visitSIGN_EXTEND()