|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/Constants.h 931 static Constant *getAdd(Constant *C1, Constant *C2,
References
include/llvm/Analysis/TargetFolder.h 50 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
include/llvm/IR/ConstantFolder.h 37 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
include/llvm/IR/Constants.h 977 return getAdd(C1, C2, false, true);
981 return getAdd(C1, C2, true, false);
lib/Analysis/InstructionSimplify.cpp 2423 ConstantExpr::getAdd(LHSOffset, LHSNoBound),
2424 ConstantExpr::getAdd(RHSOffset, RHSNoBound));
lib/Analysis/PHITransAddr.cpp 268 RHS = ConstantExpr::getAdd(RHS, CI);
lib/Analysis/ScalarEvolution.cpp 8108 C = ConstantExpr::getAdd(C, C2);
lib/IR/ConstantFold.cpp 2449 NewIdxs[i - 1] = ConstantExpr::getAdd(PrevIdx, Div);
lib/IR/Core.cpp 1489 return wrap(ConstantExpr::getAdd(unwrap<Constant>(LHSConstant),
lib/Transforms/InstCombine/InstCombineAddSub.cpp 851 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C);
858 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C);
880 return BinaryOperator::CreateSub(ConstantExpr::getAdd(Op00C, Op1C), X);
1259 return BinaryOperator::CreateSub(ConstantExpr::getAdd(XorRHS, CI),
lib/Transforms/InstCombine/InstCombineCompares.cpp 778 Index = ConstantExpr::getAdd(
5199 Constant *NewC = ConstantExpr::getAdd(C, OneOrNegOne);
lib/Transforms/InstCombine/InstCombineInternal.h 172 return ConstantExpr::getAdd(C, ConstantInt::get(C->getType(), 1));
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1294 ConstantExpr::getAdd(
1311 ConstantExpr::getAdd(
lib/Transforms/Utils/Local.cpp 2561 auto *NonNullInt = ConstantExpr::getAdd(NullInt, ConstantInt::get(ITy, 1));
lib/Transforms/Utils/LowerSwitch.cpp 367 Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High);
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h 238 offset = llvm::ConstantExpr::getAdd(offset,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 3398 TypeNameField = llvm::ConstantExpr::getAdd(TypeNameField, flag);
unittests/IR/ConstantsTest.cpp 34 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One));
38 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One));
42 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne));
234 CHECK(ConstantExpr::getAdd(P0, P0), "add i32 " P0STR ", " P0STR);
235 CHECK(ConstantExpr::getAdd(P0, P0, false, true), "add nsw i32 " P0STR ", "
237 CHECK(ConstantExpr::getAdd(P0, P0, true, true), "add nuw nsw i32 " P0STR ", "