Home
last modified time | relevance | path

Searched refs:IC (Results 1 – 25 of 121) sorted by relevance

12345

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp118 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 Dfirst-order-recurrence.ll16 ; 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 Dscalar_after_vectorization.ll21 ; 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 Dinduction.ll194 ; 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 D2009-02-20-InstCombine-SROA.ll22 ; 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 DInlineAdvisor.cpp249 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 DReplayInlineAdvisor.cpp30 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 DInstCombineLoadStoreAlloca.cpp176 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 DInstCombineCasts.cpp401 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 DInstCombineNegator.cpp518 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 DInstCombineShifts.cpp509 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 DX86InstCombineIntrinsic.cpp93 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 Dpr52078.ll3 ; 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 Dvalue-prof.proftext4 …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 DAArch64TargetTransformInfo.cpp603 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 Dpdb-type-server-simple-ts.yaml112 …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 Dpdb_lines_2.yaml131 …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 Dpdb-scopes-b.yaml214 …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 Dpdb-scopes-a.yaml268 …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 Dpdb_comdat_bar.yaml170 …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 DInlineAdvisor.h64 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 DLoopSink.cpp223 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 DMoveChecker.cpp467 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 DLlvmState.h64 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 Dpdb-symbol-types.yaml234 …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'

12345