Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp199 Ptr = ConstantFoldConstant(Ptr, DL, TLI); in evaluateBitcastFromPtr()
338 Constant *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI); in EvaluateBlock()
447 Constant *FoldedPtr = ConstantFoldConstant(Ptr, DL, TLI); in EvaluateBlock()
670 InstResult = ConstantFoldConstant(InstResult, DL, TLI); in EvaluateBlock()
H A DVNCoercion.cpp73 StoredVal = ConstantFoldConstant(C, DL); in coerceAvailableValueToLoadTypeHelper()
106 StoredVal = ConstantFoldConstant(C, DL); in coerceAvailableValueToLoadTypeHelper()
151 StoredVal = ConstantFoldConstant(C, DL); in coerceAvailableValueToLoadTypeHelper()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DConstantFolding.h55 Constant *ConstantFoldConstant(const Constant *C, const DataLayout &DL,
H A DTargetFolder.h37 return ConstantFoldConstant(C, DL); in Fold()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp301 return ConstantFoldConstant(C, DL, &TLI); in getReducedOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1808 ConstantFoldConstant(Cexpr, DL))) { in bufferLEByte()
1830 ConstantFoldConstant(Cexpr, DL))) { in bufferLEByte()
1989 Constant *C = ConstantFoldConstant(CE, getDataLayout()); in lowerConstantForGV()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLint.cpp697 Value *W = ConstantFoldConstant(C, *DL, TLI); in findValueImpl()
H A DConstantFolding.cpp834 return ConstantFoldConstant(C, DL, TLI); in CastGEPIndices()
894 return ConstantFoldConstant(Res, DL, TLI); in SymbolicallyEvaluateGEP()
1215 Constant *llvm::ConstantFoldConstant(const Constant *C, const DataLayout &DL, in ConstantFoldConstant() function in llvm
H A DInstructionSimplify.cpp3622 return ConstantFoldConstant(NewICmp, Q.DL); in SimplifyICmpInst()
4363 return ConstantFoldConstant(CE, Q.DL); in SimplifyGEPInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2481 Constant *C = ConstantFoldConstant(CE, getDataLayout()); in lowerConstant()
3027 Constant *New = ConstantFoldConstant(CE, DL); in emitGlobalConstantImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp2019 Constant *New = ConstantFoldConstant(C, DL, /*TLI*/ nullptr); in OptimizeGlobalVars()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp185 return ConstantFoldConstant(C, DL, &TLI); in EvaluateInDifferentType()
H A DInstructionCombining.cpp3876 FoldRes = ConstantFoldConstant(C, DL, TLI); in prepareICWorklistFromFunction()