Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp113 Constant *Sub = llvm::ConstantExpr::getSub(Target, Base); in createRelLookupTable()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h985 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false,
1037 return getSub(C1, C2, false, true);
1041 return getSub(C1, C2, true, false);
H A DConstantFolder.h49 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h58 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h206 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
/freebsd-13.1/contrib/llvm-project/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.cpp1771 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
1887 return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2)); in visitSub()
H A DInstCombineCasts.cpp1597 Constant *NumLowbitsLeft = ConstantExpr::getSub( in visitSExt()
1599 Constant *NewShAmt = ConstantExpr::getSub( in visitSExt()
H A DInstCombineCalls.cpp1138 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst()
1155 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst()
H A DInstCombineCompares.cpp3071 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, BOC)); in foldICmpBinOpEqualityWithConstant()
3105 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.cpp3013 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp530 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat()
1510 ConstantExpr::getSub( in instrumentGlobal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2664 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2691 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp1868 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
H A DConstantFolding.cpp926 Res = ConstantExpr::getSub(Res, CE->getOperand(1)); in SymbolicallyEvaluateGEP()
H A DInstructionSimplify.cpp732 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp779 ConstantExpr::getSub( in lowerTypeTestCall()