Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstants.h935 static Constant *getSub(Constant *C1, Constant *C2,
986 return getSub(C1, C2, false, true);
990 return getSub(C1, C2, true, false);
H A DConstantFolder.h47 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp138 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); in getRelativeOffset()
H A DCGExprConstant.cpp1938 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in tryEmitPrivate()
H A DCodeGenFunction.cpp505 auto *PCRelAsInt = llvm::ConstantExpr::getSub(GOTAsInt, FuncAsInt); in EncodeAddrForUseInPrologue()
H A DMicrosoftCXXABI.cpp545 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetFolder.h58 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h135 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
H A DInstCombineAddSub.cpp1538 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub()
H A DInstCombineCompares.cpp2652 Constant *SubC = ConstantExpr::getSub(RHS, cast<Constant>(BOp1)); in foldICmpBinOpEqualityWithConstant()
2687 Constant *SubC = ConstantExpr::getSub(cast<Constant>(BOp0), RHS); in foldICmpBinOpEqualityWithConstant()
H A DInstructionCombining.cpp2516 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp2222 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg()
2249 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
H A DCore.cpp1487 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DInlineCost.cpp1048 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
H A DConstantFolding.cpp838 Res = ConstantExpr::getSub(Res, CE->getOperand(1)); in SymbolicallyEvaluateGEP()
H A DInstructionSimplify.cpp708 return ConstantExpr::getSub(LHSOffset, RHSOffset); in computePointerDifference()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp706 ConstantExpr::getSub( in lowerTypeTestCall()