Searched refs:getTrunc (Results 1 – 15 of 15) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 118 llvm::ConstantExpr::getTrunc(Sub, Type::getInt32Ty(M.getContext())); in createRelLookupTable()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ConstantInitBuilder.cpp | 147 offset = llvm::ConstantExpr::getTrunc(offset, offsetType); in getRelativeOffsetToPosition()
|
| H A D | MicrosoftCXXABI.cpp | 591 return llvm::ConstantExpr::getTrunc(Diff, CGM.IntTy); in getImageRelativeConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 569 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 575 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 843 ConstantExpr::getTrunc(C, DestTy)); in visitTrunc() 2255 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
|
| H A D | InstCombineInternal.h | 225 Constant *TruncC = ConstantExpr::getTrunc(C, TruncTy); in getLosslessTrunc()
|
| H A D | InstCombineShifts.cpp | 312 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
|
| H A D | InstCombineAndOrXor.cpp | 1943 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp() 3185 AConst = ConstantExpr::getTrunc(AConst, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
|
| H A D | InstCombineMulDivRem.cpp | 1644 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 566 return ConstantExpr::getTrunc( in createHwasanCtorComdat() 1718 auto *GVRelPtr = ConstantExpr::getTrunc( in instrumentGlobal()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 1125 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 2197 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 2212 return getTrunc(C, Ty); in getTruncOrBitCast() 2241 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
|
| H A D | Core.cpp | 1854 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 331 return ConstantExpr::getTrunc(C, &Ty, /* OnlyIfReduced */ true); in getWithType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 8630 CastedTo = ConstantExpr::getTrunc(C, SrcTy); in lookThroughCast() 8634 CastedTo = ConstantExpr::getTrunc(C, SrcTy, true); in lookThroughCast()
|
| H A D | ScalarEvolution.cpp | 1154 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr() 9823 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
|