Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstantFolding.h165 Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, APInt Offset,
170 Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty,
/freebsd-14.2/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.cpp1631 if (Constant *C = ConstantFoldLoadFromConstPtr(Ptr, I.getType(), DL)) in visitLoadInst()
H A DSimplifyLibCalls.cpp1551 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
1555 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
/freebsd-14.2/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-14.2/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, Offset, DL); in ConstantFoldLoadFromConstPtr()
1078 return ConstantFoldLoadFromConstPtr(Ops[0], LI->getType(), DL); in ConstantFoldInstOperandsImpl()
3189 Constant *VecData = ConstantFoldLoadFromConstPtr(SrcPtr, FVTy, DL); in ConstantFoldFixedVectorCall()
H A DInstructionSimplify.cpp6117 Constant *Loaded = ConstantFoldLoadFromConstPtr(Ptr, Int32Ty, OffsetInt, DL); in simplifyRelativeLoad()
6941 return ConstantFoldLoadFromConstPtr(PtrOpC, LI->getType(), Q.DL); in simplifyLoadInst()
6964 return ConstantFoldLoadFromConstPtr(GV, LI->getType(), Offset, Q.DL); in simplifyLoadInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp404 return ConstantFoldLoadFromConstPtr(LastVisited->second, I.getType(), DL); in visitLoadInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8435 ConstantFoldLoadFromConstPtr(const_cast<Constant *>(LoadInput), in getMemCmpLoad()