Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstantFolding.h155 Constant *ConstantFoldLoadFromConst(Constant *C, Type *Ty, const APInt &Offset,
160 Constant *ConstantFoldLoadFromConst(Constant *C, Type *Ty,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp355 return ConstantFoldLoadFromConst(SrcVal, LoadTy, APInt(32, Offset), DL); in getConstantValueForLoad()
420 return ConstantFoldLoadFromConst(Val, LoadTy, DL); in getConstantMemInstValueForLoad()
H A DEvaluator.cpp143 return ConstantFoldLoadFromConst(cast<Constant *>(V->Val), Ty, Offset, DL); in read()
233 return ConstantFoldLoadFromConst(GV->getInitializer(), Ty, Offset, DL); in ComputeLoadResult()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp911 Constant *Ca = ConstantFoldLoadFromConst(C, LoadTy, ConstOffset, DL); in foldPatternedLoads()
917 if (Ca != ConstantFoldLoadFromConst(C, LoadTy, ConstOffset, DL)) in foldPatternedLoads()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp539 return ConstantFoldLoadFromConst(C, AccessTy, DL); in getAvailableLoadStore()
H A DConstantFolding.cpp698 Constant *llvm::ConstantFoldLoadFromConst(Constant *C, Type *Ty, in ConstantFoldLoadFromConst() function in llvm
724 Constant *llvm::ConstantFoldLoadFromConst(Constant *C, Type *Ty, in ConstantFoldLoadFromConst() function in llvm
726 return ConstantFoldLoadFromConst(C, Ty, APInt(64, 0), DL); in ConstantFoldLoadFromConst()
742 if (Constant *Result = ConstantFoldLoadFromConst(GV->getInitializer(), Ty, in ConstantFoldLoadFromConstPtr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp308 if (auto *Value = ConstantFoldLoadFromConst(Init, Ty, Offset, DL)) { in CleanupConstantGlobalUsers()
382 ConstantFoldLoadFromConst(GV->getInitializer(), Ty, Offset, DL); in collectSRATypes()
H A DAttributor.cpp275 return ConstantFoldLoadFromConst(Initializer, &Ty, Offset, DL); in getInitialValueForObj()