Searched refs:ConstantFoldLoadFromConstPtr (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ConstantFolding.h | 159 Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, APInt Offset, 164 Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 391 if (ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), DL)) in analyzeLoadFromClobberingMemInst() 562 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getMemInstValueForLoad() 586 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getConstantMemInstValueForLoad()
|
| H A D | SCCPSolver.cpp | 1163 if (Constant *C = ConstantFoldLoadFromConstPtr(Ptr, I.getType(), DL)) in visitLoadInst()
|
| H A D | SimplifyLibCalls.cpp | 1364 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize() 1369 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ExpandMemCmp.cpp | 305 Lhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL); in getLoadPair() 311 Rhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL); in getLoadPair()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 729 Constant *llvm::ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, in ConstantFoldLoadFromConstPtr() function in llvm 754 Constant *llvm::ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, in ConstantFoldLoadFromConstPtr() function in llvm 757 return ConstantFoldLoadFromConstPtr(C, Ty, Offset, DL); in ConstantFoldLoadFromConstPtr() 1108 return ConstantFoldLoadFromConstPtr(Ops[0], LI->getType(), DL); in ConstantFoldInstOperandsImpl() 3073 Constant *VecData = ConstantFoldLoadFromConstPtr(SrcPtr, FVTy, DL); in ConstantFoldFixedVectorCall()
|
| H A D | InstructionSimplify.cpp | 5599 Constant *Loaded = ConstantFoldLoadFromConstPtr(C, Int32Ty, DL); in simplifyRelativeLoad() 6286 return ConstantFoldLoadFromConstPtr(PtrOpC, LI->getType(), Offset, Q.DL); in simplifyLoadInst()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 7866 ConstantFoldLoadFromConstPtr(const_cast<Constant *>(LoadInput), in getMemCmpLoad()
|