Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DConstantFolding.h168 Constant *ConstantFoldLoadFromConst(Constant *C, Type *Ty, const APInt &Offset,
173 Constant *ConstantFoldLoadFromConst(Constant *C, Type *Ty,
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpTableToSwitch.cpp83 ConstantFoldLoadFromConst(GV->getInitializer(), PtrTy, Offset, DL); in parseJumpTable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp913 Constant *Ca = ConstantFoldLoadFromConst(C, LoadTy, ConstOffset, DL); in foldPatternedLoads()
919 if (Ca != ConstantFoldLoadFromConst(C, LoadTy, ConstOffset, DL)) in foldPatternedLoads()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp548 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/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp315 if (auto *Value = ConstantFoldLoadFromConst(Init, Ty, Offset, DL)) { in CleanupConstantGlobalUsers()
392 ConstantFoldLoadFromConst(GV->getInitializer(), Ty, Offset, DL); in collectSRATypes()
H A DAttributor.cpp275 return ConstantFoldLoadFromConst(Initializer, &Ty, Offset, DL); in getInitialValueForObj()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp625 llvm::Constant *FoldedConstant = llvm::ConstantFoldLoadFromConst( in AppendBitField()
H A DCGDecl.cpp1981 constant = llvm::ConstantFoldLoadFromConst( in EmitAutoVarInit()