Home
last modified time | relevance | path

Searched refs:getAdd (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1118 static Constant *getAdd(Constant *C1, Constant *C2, bool HasNUW = false,
1138 return getAdd(C1, C2, false, true);
1142 return getAdd(C1, C2, true, false);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DPHITransAddr.cpp257 RHS = ConstantExpr::getAdd(RHS, CI); in translateSubExpr()
H A DScalarEvolution.cpp9843 C = ConstantExpr::getAdd(C, OpC); in BuildConstantFromSCEV()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h176 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1)); in AddOne()
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DConstantInitBuilder.h248 offset = llvm::ConstantExpr::getAdd(offset, in addTaggedRelativeOffset()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp188 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High); in NewLeafBlock()
H A DLocal.cpp3572 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1)); in copyNonnullMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp1719 ConstantExpr::getAdd( in instrumentGlobal()
1736 ConstantExpr::getAdd( in instrumentGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp380 match(ConstantExpr::getAdd(C0, C1), in foldShiftOfShiftedBinOp()
397 Constant *ShiftSumC = ConstantExpr::getAdd(C0, C1); in foldShiftOfShiftedBinOp()
H A DInstCombineAddSub.cpp871 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X); in foldAddWithConstant()
915 BinaryOperator::CreateAdd(X, ConstantExpr::getAdd(Op01C, Op1C)); in foldAddWithConstant()
1580 return BinaryOperator::CreateAdd(Sub, ConstantExpr::getAdd(C1, C2)); in visitAdd()
H A DInstCombineAndOrXor.cpp2537 Constant *LshrC = ConstantExpr::getAdd(C2, Log2C3); in visitAnd()
2558 Constant *ShlC = ConstantExpr::getAdd(C2, Log2C1); in visitAnd()
2900 match(ConstantExpr::getAdd(LC, RC), m_SpecificIntAllowPoison(Width))) in convertOrOfShiftsToFunnelShift()
H A DInstructionCombining.cpp840 R = Builder.CreateSub(ConstantExpr::getAdd(C, BitWidthC), CtpopOfNotOp); in tryFoldInstWithCtpopWithNot()
H A DInstCombineCompares.cpp6848 Constant *NewC = ConstantExpr::getAdd(C, OneOrNegOne); in getFlippedStrictnessPredicateAndConstant()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2599 Constant *ConstantExpr::getAdd(Constant *C1, Constant *C2, in getAdd() function in ConstantExpr
H A DCore.cpp1769 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant), in LLVMConstAdd()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp4101 TypeNameField = llvm::ConstantExpr::getAdd(TypeNameField, flag); in BuildTypeInfo()