Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstantFolding.h134 Constant *ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, const DataLayout &DL);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp418 if (ConstantFoldLoadFromConstPtr(Src, LoadTy, DL)) in analyzeLoadFromClobberingMemInst()
599 return ConstantFoldLoadFromConstPtr(Src, LoadTy, DL); in getMemInstValueForLoadHelper()
H A DSCCPSolver.cpp1155 if (Constant *C = ConstantFoldLoadFromConstPtr(Ptr, I.getType(), DL)) { in visitLoadInst()
H A DSimplifyLibCalls.cpp981 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
986 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp303 Lhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL); in getLoadPair()
309 Rhs = ConstantFoldLoadFromConstPtr(C, LoadSizeType, DL); in getLoadPair()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp670 return ConstantFoldLoadFromConstPtr(SrcPtr, DestTy, DL); in ConstantFoldLoadThroughBitcastExpr()
675 Constant *llvm::ConstantFoldLoadFromConstPtr(Constant *C, Type *Ty, in ConstantFoldLoadFromConstPtr() function in llvm
684 return ConstantFoldLoadFromConstPtr(GA->getAliasee(), Ty, DL); in ConstantFoldLoadFromConstPtr()
722 return ConstantFoldLoadFromConstPtr(Simplified, Ty, DL); in ConstantFoldLoadFromConstPtr()
1241 return ConstantFoldLoadFromConstPtr(Ops[0], LI->getType(), DL); in ConstantFoldInstruction()
3018 Constant *VecData = ConstantFoldLoadFromConstPtr(SrcPtr, FVTy, DL); in ConstantFoldFixedVectorCall()
H A DInstructionSimplify.cpp4006 return ConstantFoldLoadFromConstPtr(ConstOps[0], LI->getType(), Q.DL); in simplifyWithOpReplaced()
5362 Constant *Loaded = ConstantFoldLoadFromConstPtr(C, Int32Ty, DL); in SimplifyRelativeLoad()
6074 return ConstantFoldLoadFromConstPtr(PtrOpC, LI->getType(), Q.DL); in SimplifyLoadInst()
H A DScalarEvolution.cpp8526 return ConstantFoldLoadFromConstPtr(Operands[0], LI->getType(), DL); in EvaluateExpression()
8949 C = ConstantFoldLoadFromConstPtr(Operands[0], Load->getType(), in computeSCEVAtScope()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp7582 if (const Constant *LoadCst = ConstantFoldLoadFromConstPtr( in getMemCmpLoad()