Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp116 Constant *Sub = llvm::ConstantExpr::getSub(Target, Base); in createRelLookupTable()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DConstants.h1045 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false,
1089 return getSub(C1, C2, false, true);
1093 return getSub(C1, C2, true, false);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp143 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); in getRelativeOffsetToPosition()
H A DCGExprConstant.cpp2146 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in tryEmitPrivate()
H A DMicrosoftCXXABI.cpp579 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h208 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp523 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat()
1551 ConstantExpr::getSub( in instrumentGlobal()
H A DInstrProfiling.cpp1047 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in getOrCreateRegionCounters()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp282 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(), in dropRedundantMaskingOfLeftShiftInput()
461 Constant *Mask = ConstantExpr::getSub(C, ConstantInt::get(Ty, 1)); in commonShiftTransforms()
H A DInstCombineAddSub.cpp1960 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
2083 return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2)); in visitSub()
H A DInstCombineCasts.cpp1585 Constant *NumLowbitsLeft = ConstantExpr::getSub( in visitSExt()
1587 Constant *NewShAmt = ConstantExpr::getSub( in visitSExt()
H A DInstCombineCalls.cpp1594 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst()
1611 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst()
H A DInstCombineCompares.cpp2639 ConstantExpr::getSub(SubC, ConstantInt::get(Ty, C))); in foldICmpSubConstant()
3147 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, C2)); in foldICmpBinOpEqualityWithConstant()
4257 Constant *Diff = ConstantExpr::getSub(Cst2, Cst1); in foldICmpBinOp()
H A DInstCombineAndOrXor.cpp2163 Constant *CmpC = ConstantExpr::getSub(LshrC, Log2C1); in visitAnd()
2180 Constant *CmpC = ConstantExpr::getSub(ShlC, Log2C3); in visitAnd()
H A DInstCombineSelect.cpp1447 auto *ThresholdHighExcl = ConstantExpr::getSub(C0, C1); in canonicalizeClampLike()
H A DInstructionCombining.cpp3231 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp2647 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2664 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
H A DCore.cpp1585 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp749 ConstantExpr::getSub( in lowerTypeTestCall()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInlineCost.cpp2005 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
H A DConstantFolding.cpp1446 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1101 constants. See the method [llvm::ConstantExpr::getSub]. *)