Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp137 Constant *Sub = llvm::ConstantExpr::getSub(Target, Base); in createRelLookupTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1156 LLVM_ABI static Constant *getSub(Constant *C1, Constant *C2,
1181 return getSub(C1, C2, false, true);
1185 return getSub(C1, C2, true, false);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp143 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); in getRelativeOffsetToPosition()
H A DCGExprConstant.cpp2523 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in tryEmitPrivate()
H A DMicrosoftCXXABI.cpp585 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h184 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp895 BinaryOperator::CreateSub(ConstantExpr::getSub(Op1C, COne), X); in foldAddWithConstant()
2285 BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
2394 Constant *ConstsSub = ConstantExpr::getSub(CX, CY); in visitSub()
2483 return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2)); in visitSub()
H A DInstCombineCasts.cpp814 Constant *CmpC = ConstantExpr::getSub(C2, Log2C1); in visitTrunc()
1574 Constant *NumLowbitsLeft = ConstantExpr::getSub( in visitSExt()
1576 Constant *NewShAmt = ConstantExpr::getSub( in visitSExt()
H A DInstCombineShifts.cpp295 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(), in dropRedundantMaskingOfLeftShiftInput()
504 Constant *Mask = ConstantExpr::getSub(C, ConstantInt::get(Ty, 1)); in commonShiftTransforms()
H A DInstructionCombining.cpp865 R = Builder.CreateAdd(CtpopOfNotOp, ConstantExpr::getSub(C, BitWidthC)); in tryFoldInstWithCtpopWithNot()
873 CtpopOfNotOp, ConstantExpr::getSub(BitWidthC, C)); in tryFoldInstWithCtpopWithNot()
4141 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
4153 Constant *NewCase = ConstantExpr::getSub(SubLHS, Case.getCaseValue()); in visitSwitchInst()
H A DInstCombineCalls.cpp2334 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst()
2352 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst()
H A DInstCombineAndOrXor.cpp2619 Constant *CmpC = ConstantExpr::getSub(LshrC, Log2C1); in visitAnd()
2636 Constant *CmpC = ConstantExpr::getSub(ShlC, Log2C3); in visitAnd()
H A DInstCombineCompares.cpp2978 ConstantExpr::getSub(SubC, ConstantInt::get(Ty, C))); in foldICmpSubConstant()
3638 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, C2)); in foldICmpBinOpEqualityWithConstant()
5384 Constant *Diff = ConstantExpr::getSub(Cst2, Cst1); in foldICmpBinOp()
H A DInstCombineSelect.cpp1605 auto *ThresholdHighExcl = ConstantExpr::getSub(C0, C1); in canonicalizeClampLike()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp600 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat()
1741 ConstantExpr::getSub( in instrumentGlobal()
H A DInstrProfiling.cpp1858 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in createDataVariable()
1862 ConstantExpr::getSub(ConstantExpr::getPtrToInt(BitmapPtr, IntPtrTy), in createDataVariable()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2619 return getSub(ConstantInt::get(C->getType(), 0), C, /*HasNUW=*/false, HasNSW); in getNeg()
2635 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
H A DCore.cpp1802 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2267 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
H A DConstantFolding.cpp1516 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc20947 {"_ZN4llvm12ConstantExpr6getSubEPNS_8ConstantES2_", "llvm::ConstantExpr::getSub(llvm::Constant*, ll…