reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/ConstantFolding.h
   52 Constant *ConstantFoldConstant(const Constant *C, const DataLayout &DL,

References

include/llvm/Analysis/TargetFolder.h
   36     if (Constant *CF = ConstantFoldConstant(C, DL))
lib/Analysis/ConstantFolding.cpp
  795   if (Constant *Folded = ConstantFoldConstant(C, DL, TLI))
  858             if (auto *FoldedRes = ConstantFoldConstant(Res, DL, TLI))
lib/Analysis/InstructionSimplify.cpp
 4095   if (auto *CEFolded = ConstantFoldConstant(CE, Q.DL))
lib/Analysis/Lint.cpp
  721     if (Value *W = ConstantFoldConstant(C, *DL, TLI))
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2190     if (Constant *C = ConstantFoldConstant(CE, getDataLayout()))
 2726       Constant *New = ConstantFoldConstant(CE, DL);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1819                 ConstantFoldConstant(Cexpr, DL))) {
 1841                 ConstantFoldConstant(Cexpr, DL))) {
 2000     if (Constant *C = ConstantFoldConstant(CE, getDataLayout()))
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  289     if (Constant *FoldedC = ConstantFoldConstant(C, DL, &TLI))
lib/Transforms/IPO/GlobalOpt.cpp
 2370         Constant *New = ConstantFoldConstant(C, DL, /*TLI*/ nullptr);
lib/Transforms/InstCombine/InstCombineCasts.cpp
  166     if (Constant *FoldedC = ConstantFoldConstant(C, DL, &TLI))
lib/Transforms/InstCombine/InstCombineShifts.cpp
  542               ConstantFoldConstant(C, DL, &IC.getTargetLibraryInfo()))
lib/Transforms/InstCombine/InstructionCombining.cpp
 3424           FoldRes = ConstantFoldConstant(C, DL, TLI);
lib/Transforms/Utils/Evaluator.cpp
  199     if (auto *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI))
  342       if (auto *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI)) {
  451       if (auto *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI)) {
  651       if (auto *FoldedInstResult = ConstantFoldConstant(InstResult, DL, TLI))
lib/Transforms/Utils/VNCoercion.cpp
   58     if (auto *FoldedStoredVal = ConstantFoldConstant(C, DL))
   92       if (auto *FoldedStoredVal = ConstantFoldConstant(C, DL))
  138     if (auto *FoldedStoredVal = ConstantFoldConstant(C, DL))