Home
last modified time | relevance | path

Searched refs:ConstantFoldLoadFromConstPtr (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DConstantFolding.h159 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 DVNCoercion.cpp391 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 DSCCPSolver.cpp1163 if (Constant *C = ConstantFoldLoadFromConstPtr(Ptr, I.getType(), DL)) in visitLoadInst()
H A DSimplifyLibCalls.cpp1364 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 DExpandMemCmp.cpp305 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 DConstantFolding.cpp729 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 DInstructionSimplify.cpp5599 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 DSelectionDAGBuilder.cpp7866 ConstantFoldLoadFromConstPtr(const_cast<Constant *>(LoadInput), in getMemCmpLoad()