| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 47 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST() 51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST() 55 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST() 251 CHECK(ConstantExpr::getSub(P0, P0), "sub i32 " P0STR ", " P0STR); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 116 Constant *Sub = llvm::ConstantExpr::getSub(Target, Base); in createRelLookupTable()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Constants.h | 1020 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false, 1064 return getSub(C1, C2, false, true); 1068 return getSub(C1, C2, true, false);
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | ConstantInitBuilder.cpp | 143 llvm::Constant *offset = llvm::ConstantExpr::getSub(target, base); in getRelativeOffsetToPosition()
|
| H A D | CGExprConstant.cpp | 2147 llvm::Constant *AddrLabelDiff = llvm::ConstantExpr::getSub(LHS, RHS); in tryEmitPrivate()
|
| H A D | MicrosoftCXXABI.cpp | 566 llvm::ConstantExpr::getSub(PtrValAsInt, ImageBaseAsInt, in getImageRelativeConstant()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 208 return ConstantExpr::getSub(C, ConstantInt::get(C->getType(), 1)); in SubOne()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 282 ConstantExpr::getSub(ConstantInt::get(ShAmtsDiff->getType(), in dropRedundantMaskingOfLeftShiftInput() 461 Constant *Mask = ConstantExpr::getSub(C, ConstantInt::get(Ty, 1)); in commonShiftTransforms()
|
| H A D | InstCombineAddSub.cpp | 1843 return BinaryOperator::CreateSub(ConstantExpr::getSub(C, C2), X); in visitSub() 1966 return BinaryOperator::CreateAdd(X, ConstantExpr::getSub(C, C2)); in visitSub()
|
| H A D | InstCombineCasts.cpp | 1589 Constant *NumLowbitsLeft = ConstantExpr::getSub( in visitSExt() 1591 Constant *NewShAmt = ConstantExpr::getSub( in visitSExt()
|
| H A D | InstCombineCalls.cpp | 1561 Constant *LeftShiftC = ConstantExpr::getSub(WidthC, ShAmtC); in visitCallInst() 1578 ConstantExpr::getSub(WidthC, ShAmtC)); in visitCallInst()
|
| H A D | InstCombineAndOrXor.cpp | 1959 Constant *CmpC = ConstantExpr::getSub(LshrC, Log2C1); in visitAnd() 1976 Constant *CmpC = ConstantExpr::getSub(ShlC, Log2C3); in visitAnd()
|
| H A D | InstCombineCompares.cpp | 2693 ConstantExpr::getSub(SubC, ConstantInt::get(Ty, C))); in foldICmpSubConstant() 3178 return new ICmpInst(Pred, BOp0, ConstantExpr::getSub(RHS, BOC)); in foldICmpBinOpEqualityWithConstant() 4298 Constant *Diff = ConstantExpr::getSub(Cst2, Cst1); in foldICmpBinOp()
|
| H A D | InstCombineSelect.cpp | 1389 auto *ThresholdHighExcl = ConstantExpr::getSub(C0, C1); in canonicalizeClampLike()
|
| H A D | InstructionCombining.cpp | 3207 Constant *NewCase = ConstantExpr::getSub(Case.getCaseValue(), AddRHS); in visitSwitchInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 519 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat() 1558 ConstantExpr::getSub( in instrumentGlobal()
|
| H A D | InstrProfiling.cpp | 1035 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in getOrCreateRegionCounters()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 2648 return getSub(ConstantFP::getZeroValueForNegation(C->getType()), in getNeg() 2671 Constant *ConstantExpr::getSub(Constant *C1, Constant *C2, in getSub() function in ConstantExpr
|
| H A D | Core.cpp | 1578 return wrap(ConstantExpr::getSub(unwrap<Constant>(LHSConstant), in LLVMConstSub()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 1958 if (Constant *C = ConstantExpr::getSub(CLHS, CRHS)) { in visitSub()
|
| H A D | ConstantFolding.cpp | 1447 FoldedValue = ConstantExpr::getSub( in ConstantFoldCastOperand()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | LowerTypeTests.cpp | 749 ConstantExpr::getSub( in lowerTypeTestCall()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/llvm/ |
| H A D | llvm.mli | 1103 constants. See the method [llvm::ConstantExpr::getSub]. *)
|