Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstantFolding.h178 Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, APInt Offset,
183 Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp288 if (ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), DL)) in analyzeLoadFromClobberingMemInst()
403 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getMemInstValueForLoad()
427 return ConstantFoldLoadFromConstPtr(Src, LoadTy, APInt(IndexSize, Offset), in getConstantMemInstValueForLoad()
H A DSCCPSolver.cpp1682 if (Constant *C = ConstantFoldLoadFromConstPtr(Ptr, I.getType(), DL)) in visitLoadInst()
H A DSimplifyLibCalls.cpp1560 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
1564 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp340 Lhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL); in getLoadPair()
346 Rhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL); in getLoadPair()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp729 Constant *llvm::ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, in ConstantFoldLoadFromConstPtr() function in llvm
751 Constant *llvm::ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, in ConstantFoldLoadFromConstPtr() function in llvm
754 return ConstantFoldLoadFromConstPtr(C, Ty, std::move(Offset), DL); in ConstantFoldLoadFromConstPtr()
1061 return ConstantFoldLoadFromConstPtr(Ops[0], LI->getType(), DL); in ConstantFoldInstOperandsImpl()
3269 Constant *VecData = ConstantFoldLoadFromConstPtr(SrcPtr, FVTy, DL); in ConstantFoldFixedVectorCall()
H A DInstructionSimplify.cpp6160 ConstantFoldLoadFromConstPtr(Ptr, Int32Ty, std::move(OffsetInt), DL); in simplifyRelativeLoad()
7024 return ConstantFoldLoadFromConstPtr(PtrOpC, LI->getType(), Q.DL); in simplifyLoadInst()
7047 return ConstantFoldLoadFromConstPtr(GV, LI->getType(), std::move(Offset), in simplifyLoadInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp404 return ConstantFoldLoadFromConstPtr(LastVisited->second, I.getType(), DL); in visitLoadInst()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8868 ConstantFoldLoadFromConstPtr(const_cast<Constant *>(LoadInput), in getMemCmpLoad()