Searched refs:ConstantFoldIntegerCast (Results 1 – 11 of 11) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 312 UMin->replaceAllUsesWith(ConstantFoldIntegerCast( in processUse() 336 ConstantFoldIntegerCast(KnownSize, GroupSize->getType(), false, DL)); in processUse()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ConstantFolding.h | 135 LLVM_ABI Constant *ConstantFoldIntegerCast(Constant *C, Type *DestTy,
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 1219 if (Constant *C = ConstantFoldIntegerCast(CE0->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands() 1245 Constant *C0 = ConstantFoldIntegerCast(CE0->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands() 1247 Constant *C1 = ConstantFoldIntegerCast(CE1->getOperand(0), IntPtrTy, in ConstantFoldCompareInstOperands() 1493 FoldedValue = ConstantFoldIntegerCast(CE->getOperand(0), in ConstantFoldCastOperand() 1523 return ConstantFoldIntegerCast(FoldedValue, DestTy, /*IsSigned=*/false, in ConstantFoldCastOperand() 1567 Constant *llvm::ConstantFoldIntegerCast(Constant *C, Type *DestTy, in ConstantFoldIntegerCast() function in llvm
|
| H A D | InstructionSimplify.cpp | 857 return ConstantFoldIntegerCast(Result, Op0->getType(), /*IsSigned*/ true, in simplifySubInst()
|
| H A D | ValueTracking.cpp | 6131 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() 681 if (Constant *ShAmt = ConstantFoldIntegerCast(C, A->getType(), in narrowBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1794 Op = ConstantFoldIntegerCast(Op, DL.getIntPtrType(CV->getType()), in lowerConstantForGV()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 2194 C = llvm::ConstantFoldIntegerCast(getOffset(), intptrTy, /*isSigned*/ false, in tryEmitAbsolute()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinter.cpp | 3543 Op = ConstantFoldIntegerCast(Op, DL.getIntPtrType(CV->getType()), in lowerConstant()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 530 ConstantFoldIntegerCast(CI, PtrTy, /*isSigned=*/false, DL)); in getConstantInt()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 9900 Operands[1][Idx] = CI ? ConstantFoldIntegerCast( in buildOriginalOperands()
|