/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | RelLookupTableConverter.cpp | 116 Constant *Sub = llvm::ConstantExpr::getSub(Target, Base); in createRelLookupTable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constants.h | 1120 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false, 1146 return getSub(C1, C2, false, true); 1150 return getSub(C1, C2, true, false);
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | ConstantInitBuilder.cpp | 143 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); in getRelativeOffsetToPosition()
|
H A D | CGExprConstant.cpp | 2406 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in tryEmitPrivate()
|
H A D | MicrosoftCXXABI.cpp | 589 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 181 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineAddSub.cpp | 895 BinaryOperator::CreateSub(ConstantExpr::getSub(Op1C, COne), X); in foldAddWithConstant() 2159 BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub() 2260 Constant *ConstsSub = ConstantExpr::getSub(CX, CY); in visitSub() 2322 return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2)); in visitSub()
|
H A D | InstCombineCasts.cpp | 747 Constant *CmpC = ConstantExpr::getSub(C2, Log2C1); in visitTrunc() 1523 Constant *NumLowbitsLeft = ConstantExpr::getSub( in visitSExt() 1525 Constant *NewShAmt = ConstantExpr::getSub( in visitSExt()
|
H A D | InstCombineShifts.cpp | 295 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(), in dropRedundantMaskingOfLeftShiftInput() 503 Constant *Mask = ConstantExpr::getSub(C, ConstantInt::get(Ty, 1)); in commonShiftTransforms()
|
H A D | InstructionCombining.cpp | 836 R = Builder.CreateAdd(CtpopOfNotOp, ConstantExpr::getSub(C, BitWidthC)); in tryFoldInstWithCtpopWithNot() 844 CtpopOfNotOp, ConstantExpr::getSub(BitWidthC, C)); in tryFoldInstWithCtpopWithNot() 3751 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst() 3763 Constant *NewCase = ConstantExpr::getSub(SubLHS, Case.getCaseValue()); in visitSwitchInst()
|
H A D | InstCombineCalls.cpp | 2068 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst() 2085 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst()
|
H A D | InstCombineCompares.cpp | 2897 ConstantExpr::getSub(SubC, ConstantInt::get(Ty, C))); in foldICmpSubConstant() 3491 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, C2)); in foldICmpBinOpEqualityWithConstant() 5130 Constant *Diff = ConstantExpr::getSub(Cst2, Cst1); in foldICmpBinOp()
|
H A D | InstCombineAndOrXor.cpp | 2542 Constant *CmpC = ConstantExpr::getSub(LshrC, Log2C1); in visitAnd() 2559 Constant *CmpC = ConstantExpr::getSub(ShlC, Log2C3); in visitAnd()
|
H A D | InstCombineSelect.cpp | 1514 auto *ThresholdHighExcl = ConstantExpr::getSub(C0, C1); in canonicalizeClampLike()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrProfiling.cpp | 1856 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in createDataVariable() 1860 ConstantExpr::getSub(ConstantExpr::getPtrToInt(BitmapPtr, IntPtrTy), in createDataVariable()
|
H A D | HWAddressSanitizer.cpp | 567 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat() 1720 ConstantExpr::getSub( in instrumentGlobal()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 2590 return getSub(ConstantInt::get(C->getType(), 0), C, /*HasNUW=*/false, HasNSW); in getNeg() 2606 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
|
H A D | Core.cpp | 1786 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | LowerTypeTests.cpp | 771 ConstantExpr::getSub( in lowerTypeTestCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 2101 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
|
H A D | ConstantFolding.cpp | 1422 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()
|