Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.common/
H A Dcommon_comparison_category.pass.cpp38 using WO = std::weak_ordering; in main() typedef
58 test_cat<PO, WO, PO, SO>(); in main()
64 test_cat<WO, WO>(); in main()
65 test_cat<WO, SO, WO, SO>(); in main()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2011-12-15-vec_shift.ll2 ; RUN: llc -mattr=-sse4.1 -mcpu=penryn < %s | FileCheck %s -check-prefix=CHECK-WO-SSE4
14 ; CHECK-WO-SSE4: psllw $5, [[REG1:%xmm.]]
15 ; CHECK-WO-SSE4: pxor [[REG2:%xmm.]], [[REG2:%xmm.]]
16 ; CHECK-WO-SSE4: pcmpgtb {{%xmm., }}[[REG2]]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp573 IRBuilder<> B(WO); in processOverflowIntrinsic()
574 Instruction::BinaryOps Opcode = WO->getBinaryOp(); in processOverflowIntrinsic()
575 bool NSW = WO->isSigned(); in processOverflowIntrinsic()
576 bool NUW = !WO->isSigned(); in processOverflowIntrinsic()
579 B.CreateBinOp(Opcode, WO->getLHS(), WO->getRHS(), WO->getName()); in processOverflowIntrinsic()
582 StructType *ST = cast<StructType>(WO->getType()); in processOverflowIntrinsic()
587 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic()
588 WO->eraseFromParent(); in processOverflowIntrinsic()
629 if (auto *WO = dyn_cast<WithOverflowInst>(&CB)) { in processCallSite() local
630 if (WO->getLHS()->getType()->isIntegerTy() && willNotOverflow(WO, LVI)) { in processCallSite()
[all …]
H A DGVN.cpp379 WithOverflowInst *WO = dyn_cast<WithOverflowInst>(EI->getAggregateOperand()); in createExtractvalueExpr() local
380 if (WO != nullptr && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) { in createExtractvalueExpr()
384 e.opcode = WO->getBinaryOp(); in createExtractvalueExpr()
385 e.varargs.push_back(lookupOrAdd(WO->getLHS())); in createExtractvalueExpr()
386 e.varargs.push_back(lookupOrAdd(WO->getRHS())); in createExtractvalueExpr()
H A DNewGVN.cpp1813 auto *WO = dyn_cast<WithOverflowInst>(EI->getAggregateOperand()); in performSymbolicAggrValueEvaluation() local
1814 if (WO && EI->getNumIndices() == 1 && *EI->idx_begin() == 0) in performSymbolicAggrValueEvaluation()
1818 return createBinaryExpression(WO->getBinaryOp(), EI->getType(), in performSymbolicAggrValueEvaluation()
1819 WO->getLHS(), WO->getRHS(), I); in performSymbolicAggrValueEvaluation()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp84 bool eliminateOverflowIntrinsic(WithOverflowInst *WO);
429 const SCEV *LHS = SE->getSCEV(WO->getLHS()); in eliminateOverflowIntrinsic()
430 const SCEV *RHS = SE->getSCEV(WO->getRHS()); in eliminateOverflowIntrinsic()
431 if (!SE->willNotOverflow(WO->getBinaryOp(), WO->isSigned(), LHS, RHS)) in eliminateOverflowIntrinsic()
438 WO->getBinaryOp(), WO->getLHS(), WO->getRHS(), "", WO); in eliminateOverflowIntrinsic()
440 if (WO->isSigned()) in eliminateOverflowIntrinsic()
447 for (auto *U : WO->users()) { in eliminateOverflowIntrinsic()
462 if (WO->use_empty()) in eliminateOverflowIntrinsic()
463 WO->eraseFromParent(); in eliminateOverflowIntrinsic()
621 if (auto *WO = dyn_cast<WithOverflowInst>(UseInst)) in eliminateIVUser() local
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLazyValueInfo.cpp424 WithOverflowInst *WO, BasicBlock *BB);
979 LazyValueInfoImpl::solveBlockValueOverflowIntrinsic(WithOverflowInst *WO, in solveBlockValueOverflowIntrinsic() argument
982 WO, BB, [WO](const ConstantRange &CR1, const ConstantRange &CR2) { in solveBlockValueOverflowIntrinsic()
983 return CR1.binaryOp(WO->getBinaryOp(), CR2); in solveBlockValueOverflowIntrinsic()
1009 if (auto *WO = dyn_cast<WithOverflowInst>(EVI->getAggregateOperand())) in solveBlockValueExtractValue() local
1011 return solveBlockValueOverflowIntrinsic(WO, BB); in solveBlockValueExtractValue()
1145 Value *Val, WithOverflowInst *WO, bool IsTrueDest) { in getValueFromOverflowCondition() argument
1150 if (WO->getLHS() != Val || !match(WO->getRHS(), m_APInt(C))) in getValueFromOverflowCondition()
1155 WO->getBinaryOp(), *C, WO->getNoWrapKind()); in getValueFromOverflowCondition()
1174 if (auto *WO = dyn_cast<WithOverflowInst>(EVI->getAggregateOperand())) in getValueFromConditionImpl() local
[all …]
H A DScalarEvolution.cpp5141 if (!WO) in MatchBinaryOp()
5144 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in MatchBinaryOp()
5145 bool Signed = WO->isSigned(); in MatchBinaryOp()
5148 return BinaryOp(BinOp, WO->getLHS(), WO->getRHS()); in MatchBinaryOp()
5153 return BinaryOp(BinOp, WO->getLHS(), WO->getRHS(), in MatchBinaryOp()
8739 const WithOverflowInst *WO; in computeExitLimitFromCondImpl() local
8741 if (match(ExitCond, m_ExtractValue<1>(m_WithOverflowInst(WO))) && in computeExitLimitFromCondImpl()
8742 match(WO->getRHS(), m_APInt(C))) { in computeExitLimitFromCondImpl()
8744 ConstantRange::makeExactNoWrapRegion(WO->getBinaryOp(), *C, in computeExitLimitFromCondImpl()
8745 WO->getNoWrapKind()); in computeExitLimitFromCondImpl()
[all …]
H A DValueTracking.cpp5047 bool llvm::isOverflowIntrinsicNoWrap(const WithOverflowInst *WO, in isOverflowIntrinsicNoWrap() argument
5052 for (const User *U : WO->users()) { in isOverflowIntrinsicNoWrap()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3313 Intrinsic::ID OvID = WO->getIntrinsicID(); in visitExtractValueInst()
3317 match(WO->getArgOperand(1), m_AllOnes())) { in visitExtractValueInst()
3318 return BinaryOperator::CreateNeg(WO->getArgOperand(0)); in visitExtractValueInst()
3324 if (WO->hasOneUse()) { in visitExtractValueInst()
3328 Instruction::BinaryOps BinOp = WO->getBinaryOp(); in visitExtractValueInst()
3329 Value *LHS = WO->getLHS(), *RHS = WO->getRHS(); in visitExtractValueInst()
3331 replaceInstUsesWith(*WO, PoisonValue::get(WO->getType())); in visitExtractValueInst()
3332 eraseInstFromFunction(*WO); in visitExtractValueInst()
3343 if (match(WO->getRHS(), m_APInt(C))) { in visitExtractValueInst()
3353 auto *OpTy = WO->getRHS()->getType(); in visitExtractValueInst()
[all …]
H A DInstCombineCalls.cpp806 WithOverflowInst *WO = cast<WithOverflowInst>(II); in foldIntrinsicWithOverflowCommon() local
809 if (OptimizeOverflowCheck(WO->getBinaryOp(), WO->isSigned(), WO->getLHS(), in foldIntrinsicWithOverflowCommon()
810 WO->getRHS(), *WO, OperationResult, OverflowResult)) in foldIntrinsicWithOverflowCommon()
811 return createOverflowTuple(WO, OperationResult, OverflowResult); in foldIntrinsicWithOverflowCommon()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DOpenCLImageTypes.def35 IMAGE_TYPE(Type, Id##WO, Id##WOTy, write_only, wo)
/llvm-project-15.0.7/clang/lib/Sema/
H A DOpenCLBuiltins.td178 // Access qualifier. Must be one of ("RO", "WO", "RW").
247 …!and(!eq(_Ty.Name, "image3d_t"), !eq(_AccessQualifier, "WO")) : TypeExtension<"cl_khr_3d_image_wri…
382 // specifying an access qualifier (RO/WO/RW).
1332 defm : ImageWrite<"WO">;
1363 defm : ImageQuery<"WO">;
1419 defm : ImageWriteHalf<"WO">;
1609 defm : ImageQueryNumMipLevels<"WO">;
1616 foreach aQual = ["WO"] in {
1685 defm : ImageQueryMsaa<"WO">;
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DValueTracking.h564 bool isOverflowIntrinsicNoWrap(const WithOverflowInst *WO,
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h942 void setWriteOnly(bool WO) { VarFlags.MaybeWriteOnly = WO; }
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ConfusableTable/
H A Dconfusables.txt404 1412 ; 00B7 1405 ; MA # ( ᐒ → ·ᐅ ) CANADIAN SYLLABICS WO → MIDDLE DOT, CANADIAN SYLLABICS O # →ᐧᐅ→
6002 1413 ; 1405 00B7 ; MA # ( ᐓ → ᐅ· ) CANADIAN SYLLABICS WEST-CREE WO → CANADIAN SYLLABICS O, MIDDLE D…