Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp113 Constant *Sub = llvm::ConstantExpr::getSub(Target, Base); in createRelLookupTable()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h980 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false,
1032 return getSub(C1, C2, false, true);
1036 return getSub(C1, C2, true, false);
H A DConstantFolder.h49 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp143 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); in getRelativeOffsetToPosition()
H A DCodeGenFunction.cpp571 auto *PCRelAsInt = llvm::ConstantExpr::getSub(GOTAsInt, FuncAsInt); in EncodeAddrForUseInPrologue()
H A DCGExprConstant.cpp2110 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in tryEmitPrivate()
H A DMicrosoftCXXABI.cpp560 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h58 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h206 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp283 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(), in dropRedundantMaskingOfLeftShiftInput()
418 Constant *Mask = ConstantExpr::getSub(C, ConstantInt::get(I.getType(), 1)); in commonShiftTransforms()
H A DInstCombineAddSub.cpp1750 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
1866 return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2)); in visitSub()
H A DInstCombineCasts.cpp1532 Constant *NumLowbitsLeft = ConstantExpr::getSub( in visitSExt()
1534 Constant *NewShAmt = ConstantExpr::getSub( in visitSExt()
H A DInstCombineCalls.cpp1103 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst()
1120 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst()
H A DInstCombineCompares.cpp3013 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, BOC)); in foldICmpBinOpEqualityWithConstant()
3047 return new ICmpInst(Pred, BOp1, ConstantExpr::getSub(BOC, RHS)); in foldICmpBinOpEqualityWithConstant()
H A DInstCombineSelect.cpp1337 auto *ThresholdHighExcl = ConstantExpr::getSub(C0, C1); in canonicalizeClampLike()
H A DInstructionCombining.cpp2947 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp456 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat()
1409 ConstantExpr::getSub( in instrumentGlobal()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp2662 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2689 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
H A DCore.cpp1560 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DInlineCost.cpp1650 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
H A DConstantFolding.cpp892 Res = ConstantExpr::getSub(Res, CE->getOperand(1)); in SymbolicallyEvaluateGEP()
H A DInstructionSimplify.cpp726 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp773 ConstantExpr::getSub( in lowerTypeTestCall()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1107 constants. See the method [llvm::ConstantExpr::getSub]. *)