Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DFixedPointBuilder.h39 bool SrcIsSigned = SrcSema.isSigned(); in Convert() local
52 if (DstIsInteger && SrcIsSigned) { in Convert()
61 Result = SrcIsSigned in Convert()
68 Result = B.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize"); in Convert()
79 Result = B.CreateIntCast(Result, UpscaledTy, SrcIsSigned, "resize"); in Convert()
89 Value *TooHigh = SrcIsSigned ? B.CreateICmpSGT(Result, Max) in Convert()
95 if (SrcIsSigned && (LessIntBits || !DstIsSigned)) { in Convert()
105 Result = B.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize"); in Convert()
164 Value *CreateIntegerToFixed(Value *Src, unsigned SrcIsSigned, in CreateIntegerToFixed() argument
168 Src->getType()->getScalarSizeInBits(), SrcIsSigned), in CreateIntegerToFixed()
H A DInstrTypes.h620 bool SrcIsSigned, ///< Whether to treat the source as signed
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp3468 const Value *Src, bool SrcIsSigned, Type *DestTy, bool DestIsSigned) { in getCastOpcode() argument
3497 if (SrcIsSigned) in getCastOpcode()
3520 if (SrcIsSigned) in getCastOpcode()
H A DCore.cpp3876 LLVMOpcode LLVMGetCastOpcode(LLVMValueRef Src, LLVMBool SrcIsSigned, in LLVMGetCastOpcode() argument
3879 unwrap(Src), SrcIsSigned, unwrap(DestTy), DestIsSigned)); in LLVMGetCastOpcode()
/llvm-project-15.0.7/llvm/include/llvm-c/
H A DCore.h4016 LLVMOpcode LLVMGetCastOpcode(LLVMValueRef Src, LLVMBool SrcIsSigned,