Home
last modified time | relevance | path

Searched refs:getSub (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp116 Constant *Sub = llvm::ConstantExpr::getSub(Target, Base); in createRelLookupTable()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1039 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false,
1068 return getSub(C1, C2, false, true);
1072 return getSub(C1, C2, true, false);
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp143 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); in getRelativeOffsetToPosition()
H A DCGExprConstant.cpp2165 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in tryEmitPrivate()
H A DMicrosoftCXXABI.cpp591 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h219 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1517 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in createDataVariable()
1521 ConstantExpr::getSub(ConstantExpr::getPtrToInt(BitmapPtr, IntPtrTy), in createDataVariable()
H A DHWAddressSanitizer.cpp542 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat()
1631 ConstantExpr::getSub( in instrumentGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp888 BinaryOperator::CreateSub(ConstantExpr::getSub(Op1C, COne), X); in foldAddWithConstant()
2166 BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
2267 Constant *ConstsSub = ConstantExpr::getSub(CX, CY); in visitSub()
2329 return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2)); in visitSub()
H A DInstCombineShifts.cpp292 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(), in dropRedundantMaskingOfLeftShiftInput()
493 Constant *Mask = ConstantExpr::getSub(C, ConstantInt::get(Ty, 1)); in commonShiftTransforms()
H A DInstructionCombining.cpp813 R = Builder.CreateAdd(CtpopOfNotOp, ConstantExpr::getSub(C, BitWidthC)); in tryFoldInstWithCtpopWithNot()
821 CtpopOfNotOp, ConstantExpr::getSub(BitWidthC, C)); in tryFoldInstWithCtpopWithNot()
3291 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
3303 Constant *NewCase = ConstantExpr::getSub(SubLHS, Case.getCaseValue()); in visitSwitchInst()
H A DInstCombineCasts.cpp1485 Constant *NumLowbitsLeft = ConstantExpr::getSub( in visitSExt()
1487 Constant *NewShAmt = ConstantExpr::getSub( in visitSExt()
H A DInstCombineCalls.cpp1976 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst()
1993 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst()
H A DInstCombineCompares.cpp2806 ConstantExpr::getSub(SubC, ConstantInt::get(Ty, C))); in foldICmpSubConstant()
3382 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, C2)); in foldICmpBinOpEqualityWithConstant()
4798 Constant *Diff = ConstantExpr::getSub(Cst2, Cst1); in foldICmpBinOp()
H A DInstCombineAndOrXor.cpp2417 Constant *CmpC = ConstantExpr::getSub(LshrC, Log2C1); in visitAnd()
2434 Constant *CmpC = ConstantExpr::getSub(ShlC, Log2C3); in visitAnd()
H A DInstCombineSelect.cpp1476 auto *ThresholdHighExcl = ConstantExpr::getSub(C0, C1); in canonicalizeClampLike()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2444 return getSub(ConstantInt::get(C->getType(), 0), C, HasNUW, HasNSW); in getNeg()
2460 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
H A DCore.cpp1660 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp771 ConstantExpr::getSub( in lowerTypeTestCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2093 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
H A DConstantFolding.cpp1419 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()