Searched refs:ConstantFoldIntegerCast (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelAttributes.cpp | 290 UMin->replaceAllUsesWith(ConstantFoldIntegerCast( in processUse() 314 ConstantFoldIntegerCast(KnownSize, GroupSize->getType(), false, DL)); in processUse()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ConstantFolding.h | 132 Constant *ConstantFoldIntegerCast(Constant *C, Type *DestTy, bool IsSigned,
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1195 if (Constant *C = ConstantFoldIntegerCast(CE0->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands() 1221 Constant *C0 = ConstantFoldIntegerCast(CE0->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands() 1223 Constant *C1 = ConstantFoldIntegerCast(CE1->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands() 1399 FoldedValue = ConstantFoldIntegerCast(CE->getOperand(0), in ConstantFoldCastOperand() 1429 return ConstantFoldIntegerCast(FoldedValue, DestTy, /*IsSigned=*/false, in ConstantFoldCastOperand() 1473 Constant *llvm::ConstantFoldIntegerCast(Constant *C, Type *DestTy, in ConstantFoldIntegerCast() function in llvm
|
H A D | InstructionSimplify.cpp | 900 return ConstantFoldIntegerCast(Result, Op0->getType(), /*IsSigned*/ true, in simplifySubInst()
|
H A D | ValueTracking.cpp | 6017 if (Constant *Op = ConstantFoldIntegerCast( in isBytewiseValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 33 return ConstantFoldIntegerCast(C, Ty, isSigned, DL); in EvaluateInDifferentType() 605 if (Constant *ShAmt = ConstantFoldIntegerCast(C, A->getType(), in narrowBinOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAsmPrinter.cpp | 2049 Op = ConstantFoldIntegerCast(Op, DL.getIntPtrType(CV->getType()), in lowerConstantForGV()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 2091 C = llvm::ConstantFoldIntegerCast(getOffset(), intptrTy, /*isSigned*/ false, in tryEmitAbsolute()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 3204 Op = ConstantFoldIntegerCast(Op, DL.getIntPtrType(CV->getType()), in lowerConstant()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 505 ConstantFoldIntegerCast(CI, PtrTy, /*isSigned=*/false, DL)); in GetConstantInt()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 7341 Operands.back().push_back(ConstantFoldIntegerCast( in buildTree_rec()
|