Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
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()
625 if (auto *FoldedInstResult = ConstantFoldConstant(InstResult, DL, TLI)) in EvaluateBlock()
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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DConstantFolding.h54 Constant *ConstantFoldConstant(const Constant *C, const DataLayout &DL,
DTargetFolder.h37 if (Constant *CF = ConstantFoldConstant(C, DL)) in Fold()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DTruncInstCombine.cpp290 if (Constant *FoldedC = ConstantFoldConstant(C, DL, &TLI)) in getReducedOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1821 ConstantFoldConstant(Cexpr, DL))) { in bufferLEByte()
1843 ConstantFoldConstant(Cexpr, DL))) { in bufferLEByte()
2002 if (Constant *C = ConstantFoldConstant(CE, getDataLayout())) in lowerConstantForGV()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp766 if (Constant *Folded = ConstantFoldConstant(C, DL, TLI)) in CastGEPIndices()
829 if (auto *FoldedRes = ConstantFoldConstant(Res, DL, TLI)) in SymbolicallyEvaluateGEP()
1162 Constant *llvm::ConstantFoldConstant(const Constant *C, const DataLayout &DL, in ConstantFoldConstant() function in llvm
DLint.cpp718 if (Value *W = ConstantFoldConstant(C, *DL, TLI)) in findValueImpl()
DInstructionSimplify.cpp3968 if (auto *CEFolded = ConstantFoldConstant(CE, Q.DL)) in SimplifyGEPInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp269 ConstantFoldConstant(C, DL, &IC.getTargetLibraryInfo())) in getShiftedValue()
DInstCombineCasts.cpp167 if (Constant *FoldedC = ConstantFoldConstant(C, DL, &TLI)) in EvaluateInDifferentType()
DInstructionCombining.cpp3165 FoldRes = ConstantFoldConstant(C, DL, TLI); in AddReachableCodeToWorklist()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp2067 if (Constant *C = ConstantFoldConstant(CE, getDataLayout())) in lowerConstant()
2603 Constant *New = ConstantFoldConstant(CE, DL); in emitGlobalConstantImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2327 Constant *New = ConstantFoldConstant(C, DL, TLI); in OptimizeGlobalVars()