Home
last modified time | relevance | path

Searched refs:ConstantFoldConstant (Results 1 – 14 of 14) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp305 if (auto *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI)) { in EvaluateBlock()
354 if (auto *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI)) in EvaluateBlock()
425 if (auto *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI)) { in EvaluateBlock()
624 if (auto *FoldedInstResult = ConstantFoldConstant(InstResult, DL, TLI)) in EvaluateBlock()
H A DVNCoercion.cpp48 if (auto *FoldedStoredVal = ConstantFoldConstant(C, DL)) in coerceAvailableValueToLoadTypeHelper()
82 if (auto *FoldedStoredVal = ConstantFoldConstant(C, DL)) in coerceAvailableValueToLoadTypeHelper()
128 if (auto *FoldedStoredVal = ConstantFoldConstant(C, DL)) in coerceAvailableValueToLoadTypeHelper()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DConstantFolding.h54 Constant *ConstantFoldConstant(const Constant *C, const DataLayout &DL,
H A DTargetFolder.h37 if (Constant *CF = ConstantFoldConstant(C, DL)) in Fold()
/freebsd-12.1/contrib/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp290 if (Constant *FoldedC = ConstantFoldConstant(C, DL, &TLI)) in getReducedOperand()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1846 ConstantFoldConstant(Cexpr, DL))) { in bufferLEByte()
1868 ConstantFoldConstant(Cexpr, DL))) { in bufferLEByte()
2027 if (Constant *C = ConstantFoldConstant(CE, getDataLayout())) in lowerConstantForGV()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp777 if (Constant *Folded = ConstantFoldConstant(C, DL, TLI)) in CastGEPIndices()
840 if (auto *FoldedRes = ConstantFoldConstant(Res, DL, TLI)) in SymbolicallyEvaluateGEP()
1166 Constant *llvm::ConstantFoldConstant(const Constant *C, const DataLayout &DL, in ConstantFoldConstant() function in llvm
H A DLint.cpp718 if (Value *W = ConstantFoldConstant(C, *DL, TLI)) in findValueImpl()
H A DInstructionSimplify.cpp4156 if (auto *CEFolded = ConstantFoldConstant(CE, Q.DL)) in SimplifyGEPInst()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp269 ConstantFoldConstant(C, DL, &IC.getTargetLibraryInfo())) in getShiftedValue()
H A DInstCombineCasts.cpp167 if (Constant *FoldedC = ConstantFoldConstant(C, DL, &TLI)) in EvaluateInDifferentType()
H A DInstructionCombining.cpp3328 FoldRes = ConstantFoldConstant(C, DL, TLI); in AddReachableCodeToWorklist()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2143 if (Constant *C = ConstantFoldConstant(CE, getDataLayout())) in lowerConstant()
2679 Constant *New = ConstantFoldConstant(CE, DL); in emitGlobalConstantImpl()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp2340 Constant *New = ConstantFoldConstant(C, DL, TLI); in OptimizeGlobalVars()