| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 118 InstCombiner &IC, in modifyIntrinsicCall() argument 146 IC.eraseInstFromFunction(OldIntr); in modifyIntrinsicCall() 341 auto *TLI = &IC.getTargetLibraryInfo(); in canSimplifyLegacyMulToMul() 402 return IC.replaceInstUsesWith( in instCombineIntrinsic() 482 return IC.replaceOperand( in instCombineIntrinsic() 581 return IC.replaceOperand( in instCombineIntrinsic() 591 return IC.replaceOperand( in instCombineIntrinsic() 707 return IC.replaceInstUsesWith( in instCombineIntrinsic() 734 return IC.replaceInstUsesWith( in instCombineIntrinsic() 780 IC.replaceOperand(II, 2, in instCombineIntrinsic() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/ |
| H A D | first-order-recurrence.ll | 16 ; UNROLL-NO-IC-LABEL: @recurrence_1( 17 ; UNROLL-NO-IC-NEXT: entry: 27 ; UNROLL-NO-IC: vector.ph: 237 ; UNROLL-NO-IC-NEXT: entry: 503 ; UNROLL-NO-IC-NEXT: entry: 2724 ; UNROLL-NO-IC-NEXT: bb: 2842 ; UNROLL-NO-IC: bb1: 2845 ; UNROLL-NO-IC: bb2: 3031 ; UNROLL-NO-IC-NEXT: bb: 3213 ; UNROLL-NO-IC: bb1: [all …]
|
| H A D | scalar_after_vectorization.ll | 21 ; NO-IC-LABEL: @scalar_after_vectorization_0 23 ; NO-IC: vector.body: 25 ; NO-IC: %offset.idx = add i64 1, %index 26 ; NO-IC: %[[T2:.+]] = add i64 %offset.idx, 0 27 ; NO-IC: %[[T3:.+]] = add i64 %offset.idx, 4 28 ; NO-IC: %[[T4:.+]] = add nuw nsw i64 %[[T2]], %tmp0 29 ; NO-IC: %[[T5:.+]] = add nuw nsw i64 %[[T3]], %tmp0 30 ; NO-IC: %[[T6:.+]] = sub nsw i64 %[[T4]], %x 31 ; NO-IC: %[[T7:.+]] = sub nsw i64 %[[T5]], %x 36 ; NO-IC: load <4 x i32>, <4 x i32>* %[[T11]], align 4 [all …]
|
| H A D | induction.ll | 194 ; UNROLL-NO-IC: for.end: 471 ; UNROLL-NO-IC-NEXT: entry: 787 ; UNROLL-NO-IC-NEXT: entry: 1113 ; UNROLL-NO-IC-NEXT: entry: 2944 ; UNROLL-NO-IC: loop: 2951 ; UNROLL-NO-IC: exit: 3083 ; UNROLL-NO-IC: loop: 3090 ; UNROLL-NO-IC: exit: 3226 ; UNROLL-NO-IC: loop: 3233 ; UNROLL-NO-IC: exit: [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | 2009-02-20-InstCombine-SROA.ll | 22 ; IC-NEXT: entry: 40 ; IC: bb.i.i: 47 ; IC: bb1.i.i: 51 ; IC: bb2.i.i: 61 ; IC: bb4.i.i: 65 ; IC: bb5.i.i: 75 ; IC: bb7.i.i: 79 ; IC: bb8.i.i: 89 ; IC: bb10.i.i: 118 ; IC-NEXT: ] [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineAdvisor.cpp | 249 if (IC.getCost() <= 0) in shouldBeDeferred() 334 if (IC.isAlways()) { in operator <<() 336 } else if (IC.isNever()) { in operator <<() 351 Remark << IC; in inlineCostStr() 378 if (IC.isAlways()) { in shouldInline() 381 return IC; in shouldInline() 384 if (!IC) { in shouldInline() 387 if (IC.isNever()) { in shouldInline() 399 << IC; in shouldInline() 425 return IC; in shouldInline() [all …]
|
| H A D | ReplayInlineAdvisor.cpp | 30 InlineContext IC) in ReplayInlineAdvisor() argument 31 : InlineAdvisor(M, FAM, IC), OriginalAdvisor(std::move(OriginalAdvisor)), in ReplayInlineAdvisor() 84 bool EmitRemarks, InlineContext IC) { in getReplayInlineAdvisor() argument 87 IC); in getReplayInlineAdvisor()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 176 return IC.replaceOperand(AI, 0, IC.Builder.getInt32(1)); in simplifyAllocaArraySize() 237 PointerReplacer(InstCombinerImpl &IC) : IC(IC) {} in PointerReplacer() argument 248 InstCombinerImpl &IC; member in __anonf044969c0111::PointerReplacer 293 IC.InsertNewInstWith(NewI, *LT); in replace() 303 IC.InsertNewInstWith(NewI, *GEP); in replace() 313 IC.InsertNewInstWith(NewI, *BC); in replace() 641 return IC.replaceInstUsesWith(LI, IC.Builder.CreateInsertValue( in unpackLoadToAggregate() 683 return IC.replaceInstUsesWith(LI, IC.Builder.CreateInsertValue( in unpackLoadToAggregate() 1315 IC.Builder.SetInsertPoint(LI); in removeBitcastsFromLoadStoreOnMinMax() 1320 IC.Builder.SetInsertPoint(USI); in removeBitcastsFromLoadStoreOnMinMax() [all …]
|
| H A D | InstCombineCasts.cpp | 401 canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI); in canEvaluateTruncated() 410 if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) && in canEvaluateTruncated() 411 IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) { in canEvaluateTruncated() 482 if (!canEvaluateTruncated(IncValue, Ty, IC, CxtI)) in canEvaluateTruncated() 501 InstCombinerImpl &IC) { in foldVecTruncToExtElt() argument 532 if (IC.getDataLayout().isBigEndian()) in foldVecTruncToExtElt() 1154 !canEvaluateZExtd(I->getOperand(1), Ty, Tmp, IC, CxtI)) in canEvaluateZExtd() 1166 if (IC.MaskedValueIsZero(I->getOperand(1), in canEvaluateZExtd() 1760 KnownBits SrcKnown = IC.computeKnownBits(Src, 0, &I); in isKnownExactCastIntToFP() 2156 InVal = IC.Builder.CreateBitCast(InVal, SrcTy); in optimizeVectorResizeWithIntegerBitCasts() [all …]
|
| H A D | InstCombineNegator.cpp | 518 InstCombinerImpl &IC) { in Negate() argument 526 Negator N(Root->getContext(), IC.getDataLayout(), IC.getAssumptionCache(), in Negate() 527 IC.getDominatorTree(), LHSIsZero); in Negate() 542 InstCombiner::BuilderTy::InsertPointGuard Guard(IC.Builder); in Negate() 543 IC.Builder.ClearInsertionPoint(); in Negate() 544 IC.Builder.SetCurrentDebugLocation(DebugLoc()); in Negate() 555 IC.Builder.Insert(I, I->getName()); in Negate()
|
| H A D | InstCombineShifts.cpp | 509 if (IC.MaskedValueIsZero(InnerShift->getOperand(0), Mask, 0, CxtI)) in canEvaluateShiftedShift() 550 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); in canEvaluateShifted() 557 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); in canEvaluateShifted() 565 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted() 649 return IC.Builder.CreateShl(C, NumBits); in getShiftedValue() 651 return IC.Builder.CreateLShr(C, NumBits); in getShiftedValue() 655 IC.addToWorklist(I); in getShiftedValue() 672 IC.Builder); in getShiftedValue() 687 isLeftShift, IC, DL)); in getShiftedValue() 693 IC.InsertNewInstWith(Neg, *I); in getShiftedValue() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 93 IC.eraseInstFromFunction(II); in simplifyX86MaskedStore() 112 IC.eraseInstFromFunction(II); in simplifyX86MaskedStore() 1158 IC.replaceOperand(II, 0, V); in instCombineIntrinsic() 1162 IC.replaceOperand(II, 1, V); in instCombineIntrinsic() 1488 IC.replaceOperand(II, 0, V); in instCombineIntrinsic() 1492 IC.replaceOperand(II, 1, V); in instCombineIntrinsic() 1792 IC.addToWorklist(&II); in simplifyDemandedVectorEltsIntrinsic() 1811 IC.addToWorklist(&II); in simplifyDemandedVectorEltsIntrinsic() 1831 IC.addToWorklist(&II); in simplifyDemandedVectorEltsIntrinsic() 1858 IC.addToWorklist(&II); in simplifyDemandedVectorEltsIntrinsic() [all …]
|
| /llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/X86/ |
| H A D | pr52078.ll | 3 ; RUN: opt -instcombine -S < %s | FileCheck %s --check-prefix=IC 14 ; IC-LABEL: @foo( 15 ; IC-NEXT: [[TRUNC:%.*]] = select i1 [[A:%.*]], i16 32767, i16 0 16 ; IC-NEXT: ret i16 [[TRUNC]] 34 ; IC-LABEL: @foo2( 35 ; IC-NEXT: [[LSHR:%.*]] = select i1 [[A:%.*]], i16 32767, i16 0 36 ; IC-NEXT: ret i16 [[LSHR]]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/ |
| H A D | value-prof.proftext | 4 …llvm-profdata show -ic-targets -all-functions %t.profdata | FileCheck %s --check-prefixes=IC,ICSUM 54 #IC: Indirect Call Site Count: 3 55 #IC-NEXT: Indirect Target Results: 56 #IC-NEXT: [ 1, foo2, 1000 ] 57 #IC-NEXT: [ 1, foo, 100 ] 58 #IC-NEXT: [ 2, foo2, 20000 ]
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 603 return processPhiNode(IC, II); in instCombineConvertFromSVBool() 1066 return IC.eraseInstFromFunction(II); in instCombineSVEST1() 1234 return IC.replaceInstUsesWith( in instCombineSVEZip() 1399 return instCombineSVEDup(IC, II); in instCombineIntrinsic() 1401 return instCombineSVEDupX(IC, II); in instCombineIntrinsic() 1406 return instCombineRDFFR(IC, II); in instCombineIntrinsic() 1409 return instCombineSVELast(IC, II); in instCombineIntrinsic() 1433 return instCombineSVETBL(IC, II); in instCombineIntrinsic() 1443 return instCombineSVEZip(IC, II); in instCombineIntrinsic() 1453 return instCombineSVESDIV(IC, II); in instCombineIntrinsic() [all …]
|
| /llvm-project-15.0.7/lld/test/COFF/Inputs/ |
| H A D | pdb-type-server-simple-ts.yaml | 112 …IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2… 119 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
|
| H A D | pdb_lines_2.yaml | 131 …IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2… 138 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
|
| H A D | pdb-scopes-b.yaml | 214 …IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2… 221 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
|
| H A D | pdb-scopes-a.yaml | 268 …IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2… 275 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
|
| H A D | pdb_comdat_bar.yaml | 170 …IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2… 177 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InlineAdvisor.h | 64 std::string AnnotateInlinePassName(InlineContext IC); 203 Optional<InlineContext> IC = NoneType::None); 210 const Optional<InlineContext> IC; variable 232 InlineParams Params, InlineContext IC) in DefaultInlineAdvisor() argument 233 : InlineAdvisor(M, FAM, IC), Params(Params) {} in DefaultInlineAdvisor() 258 InlineContext IC); 312 const Function &Caller, const InlineCost &IC, 323 std::string inlineCostStr(const InlineCost &IC);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSink.cpp | 223 Instruction *IC = I.clone(); in sinkInstruction() local 224 IC->setName(I.getName()); in sinkInstruction() 225 IC->insertBefore(&*N->getFirstInsertionPt()); in sinkInstruction() 230 MSSAU->createMemoryAccessInBB(IC, nullptr, N, MemorySSA::Beginning); in sinkInstruction() 242 I.replaceUsesWithIf(IC, [N](Use &U) { in sinkInstruction() 246 replaceDominatedUsesWith(&I, IC, DT, N); in sinkInstruction()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MoveChecker.cpp | 467 if (const auto *IC = dyn_cast<CXXInstanceCall>(AFC)) in checkPostCall() local 468 if (IC->getCXXThisVal().getAsRegion() == ArgRegion) in checkPostCall() 617 const auto IC = dyn_cast<CXXInstanceCall>(&Call); in checkPreCall() local 618 if (!IC) in checkPreCall() 622 if (isa<CXXDestructorCall>(IC)) in checkPreCall() 625 const MemRegion *ThisRegion = IC->getCXXThisVal().getAsRegion(); in checkPreCall() 630 const auto MethodDecl = dyn_cast_or_null<CXXMethodDecl>(IC->getDecl()); in checkPreCall() 660 const MemRegion *ArgRegion = IC->getArgSVal(0).getAsRegion(); in checkPreCall() 707 if (const auto *IC = dyn_cast<CXXInstanceCall>(Call)) in checkRegionChanges() local 708 ThisRegion = IC->getCXXThisVal().getAsRegion(); in checkRegionChanges()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | LlvmState.h | 64 const InstructionsCache &getIC() const { return *IC; } in getIC() 72 std::unique_ptr<const InstructionsCache> IC; variable
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | pdb-symbol-types.yaml | 234 …IC:\PROGRA~2\MICROS~1.0\VC\include -IC:\PROGRA~2\MICROS~1.0\VC\atlmfc\include -IC:\PROGRA~2\WI3CF2… 241 String: ' -IC:\PROGRA~2\WI3CF2~1\10\include\10.0.14393.0\winrt -TC -X'
|