Home
last modified time | relevance | path

Searched refs:NW (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/dev/ath/ath_hal/
H A Dah_eeprom_9287.c292 #define NW(a) (sizeof(a) / sizeof(uint16_t)) in ath_hal_9287EepromAttach() macro
327 for (w = 0; w < NW(struct ar9287_eeprom); w++) { in ath_hal_9287EepromAttach()
342 for (w = 0; w < NW(HAL_EEPROM_9287); w++) in ath_hal_9287EepromAttach()
406 #undef NW in ath_hal_9287EepromAttach()
H A Dah_eeprom_v4k.c282 #define NW(a) (sizeof(a) / sizeof(uint16_t)) in ath_hal_v4kEepromAttach() macro
316 for (w = 0; w < NW(struct ar5416eeprom_4k); w++) { in ath_hal_v4kEepromAttach()
331 for (w = 0; w < NW(struct ar5416eeprom_4k); w++) in ath_hal_v4kEepromAttach()
396 #undef NW in ath_hal_v4kEepromAttach()
H A Dah_eeprom_v14.c335 #define NW(a) (sizeof(a) / sizeof(uint16_t)) in ath_hal_v14EepromAttach() macro
370 for (w = 0; w < NW(struct ar5416eeprom); w++) { in ath_hal_v14EepromAttach()
382 for (w = 0; w < NW(struct ar5416eeprom); w++) in ath_hal_v14EepromAttach()
446 #undef NW in ath_hal_v14EepromAttach()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstSimplifyFolder.h82 GEPNoWrapFlags NW) const override { in FoldGEP() argument
83 return simplifyGEPInst(Ty, Ptr, IdxList, NW, SQ); in FoldGEP()
H A DTargetFolder.h119 GEPNoWrapFlags NW) const override { in FoldGEP() argument
127 return Fold(ConstantExpr::getGetElementPtr(Ty, PC, IdxList, NW)); in FoldGEP()
H A DInstructionSimplify.h173 ArrayRef<Value *> Indices, GEPNoWrapFlags NW,
/freebsd/crypto/openssl/test/recipes/15-test_dsaparam_data/valid/
H A Dp2048_q224_t1862_gind1.pem10 NW/5aAqkBnJvG4/O+ANwB+r64hgUiwIxlBW3w6TQri3Wa/c5xCvThneRFTFGuDWi
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h108 GEPNoWrapFlags NW) const override { in FoldGEP() argument
117 return ConstantExpr::getGetElementPtr(Ty, PC, IdxList, NW); in FoldGEP()
H A DIRBuilderFolder.h57 GEPNoWrapFlags NW) const = 0;
H A DNoFolder.h79 GEPNoWrapFlags NW) const override { in FoldGEP() argument
H A DConstants.h1273 GEPNoWrapFlags NW = GEPNoWrapFlags::none(),
1277 Ty, C, ArrayRef((Value *const *)IdxList.data(), IdxList.size()), NW,
1282 GEPNoWrapFlags NW = GEPNoWrapFlags::none(),
1288 return getGetElementPtr(Ty, C, cast<Value>(Idx), NW, InRange,
1293 GEPNoWrapFlags NW = GEPNoWrapFlags::none(),
H A DIRBuilder.h1930 GEPNoWrapFlags NW = GEPNoWrapFlags::none()) {
1931 if (auto *V = Folder.FoldGEP(Ty, Ptr, IdxList, NW))
1933 return Insert(GetElementPtrInst::Create(Ty, Ptr, IdxList, NW), Name);
2042 GEPNoWrapFlags NW = GEPNoWrapFlags::none()) {
2043 return CreateGEP(getInt8Ty(), Ptr, Offset, Name, NW);
/freebsd/secure/caroot/trusted/
H A DSSL_com_TLS_ECC_Root_CA_2022.pem62 GDAWgBSJjy+j6CugFFR781a4Jl9nOAuc0DAdBgNVHQ4EFgQUiY8vo+groBRUe/NW
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp399 GEPNoWrapFlags NW; member
404 : BasePtr(GEP.getPointerOperand()), NW(GEP.getNoWrapFlags()) { in OffsetResult()
438 Result.NW &= InnerGEP->getNoWrapFlags(); in collectOffsets()
462 const auto &[BasePtr, ConstantOffset, VariableOffsets, NW] = in decomposeGEP()
466 if (!BasePtr || NW == GEPNoWrapFlags::none()) in decomposeGEP()
477 if (!NW.hasNoUnsignedWrap()) { in decomposeGEP()
479 assert(NW.hasNoUnsignedSignedWrap() && "Must have nusw flag"); in decomposeGEP()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp845 Type *ResultTy, GEPNoWrapFlags NW, in CastGEPIndices() argument
875 ConstantExpr::getGetElementPtr(SrcElemTy, Ops[0], NewIdxs, NW, InRange); in CastGEPIndices()
915 GEPNoWrapFlags NW = GEP->getNoWrapFlags(); in SymbolicallyEvaluateGEP() local
918 NW &= GEP->getNoWrapFlags(); in SymbolicallyEvaluateGEP()
950 if (NW.hasNoUnsignedSignedWrap() && !NW.isInBounds() && Overflow) in SymbolicallyEvaluateGEP()
951 NW = NW.withoutNoUnsignedSignedWrap(); in SymbolicallyEvaluateGEP()
974 if (!NW.isInBounds() && Offset.isNonNegative()) { in SymbolicallyEvaluateGEP()
979 NW |= GEPNoWrapFlags::inBounds(); in SymbolicallyEvaluateGEP()
983 if (NW.hasNoUnsignedSignedWrap() && Offset.isNonNegative()) in SymbolicallyEvaluateGEP()
984 NW |= GEPNoWrapFlags::noUnsignedWrap(); in SymbolicallyEvaluateGEP()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp220 GEPNoWrapFlags NW, Type *IdxTy, in EmitGEPOffsets() argument
229 Sum = Builder.CreateAdd(Sum, Offset, "", NW.hasNoUnsignedWrap(), in EmitGEPOffsets()
230 NW.isInBounds()); in EmitGEPOffsets()
2580 GEPNoWrapFlags NW = GEP.getNoWrapFlags(); in foldSelectGEP() local
2582 Value *NewTrueC = Builder.CreateGEP(Ty, TrueC, IndexC, "", NW); in foldSelectGEP()
2583 Value *NewFalseC = Builder.CreateGEP(Ty, FalseC, IndexC, "", NW); in foldSelectGEP()
2678 GEPNoWrapFlags NW = getMergedGEPNoWrapFlags(*Src, *cast<GEPOperator>(&GEP)); in visitGEPOfGEP() local
2688 NW = NW.withoutNoUnsignedSignedWrap(); in visitGEPOfGEP()
2690 NW = NW.withoutNoUnsignedWrap(); in visitGEPOfGEP()
2695 Indices, "", NW)); in visitGEPOfGEP()
[all …]
H A DInstCombineCompares.cpp424 static bool canRewriteGEPAsOffset(Value *Start, Value *Base, GEPNoWrapFlags &NW, in canRewriteGEPAsOffset() argument
463 NW = NW.intersectForOffsetAdd(GEP->getNoWrapFlags()); in canRewriteGEPAsOffset()
538 static Value *rewriteGEPAsOffset(Value *Start, Value *Base, GEPNoWrapFlags NW, in rewriteGEPAsOffset() argument
582 /*NUW=*/NW.hasNoUnsignedWrap(), in rewriteGEPAsOffset()
583 /*NSW=*/NW.hasNoUnsignedSignedWrap()); in rewriteGEPAsOffset()
619 Val->getName() + ".ptr", NW); in rewriteGEPAsOffset()
654 GEPNoWrapFlags NW = GEPLHS->getNoWrapFlags(); in transformToIndexedCompare() local
655 if (!canRewriteGEPAsOffset(RHS, PtrBase, NW, DL, Nodes)) in transformToIndexedCompare()
664 Value *NewRHS = rewriteGEPAsOffset(RHS, PtrBase, NW, DL, Nodes, IC); in transformToIndexedCompare()
691 auto CanFold = [Cond](GEPNoWrapFlags NW) { in foldGEPICmp() argument
[all …]
H A DInstCombinePHI.cpp549 GEPNoWrapFlags NW = FirstInst->getNoWrapFlags(); in foldPHIArgGEPIntoPHI() local
559 NW &= GEP->getNoWrapFlags(); in foldPHIArgGEPIntoPHI()
641 ArrayRef(FixedOperands).slice(1), NW); in foldPHIArgGEPIntoPHI()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h343 llvm::GEPNoWrapFlags NW = llvm::GEPNoWrapFlags::none()) {
345 return RawAddress(CreateGEP(Addr.getElementType(), Ptr, IdxList, Name, NW),
/freebsd/contrib/file/magic/Magdir/
H A Djavascript74 # Note: used in bytenode and NW.js protected source code
/freebsd/
H A DCOPYRIGHT85 Business Equipment Manufacturers Association (CBEMA), 311 First St., NW,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp363 GEPNoWrapFlags NW = (Flags & SCEV::FlagNUW) ? GEPNoWrapFlags::noUnsignedWrap() in expandAddToGEP() local
369 return Builder.CreatePtrAdd(CLHS, CRHS, "", NW); in expandAddToGEP()
384 GEP->setNoWrapFlags(GEP->getNoWrapFlags() & NW); in expandAddToGEP()
406 return Builder.CreatePtrAdd(V, Idx, "scevgep", NW); in expandAddToGEP()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp1621 void GetElementPtrInst::setNoWrapFlags(GEPNoWrapFlags NW) { in setNoWrapFlags() argument
1622 SubclassOptionalData = NW.getRaw(); in setNoWrapFlags()
1626 GEPNoWrapFlags NW = cast<GEPOperator>(this)->getNoWrapFlags(); in setIsInBounds() local
1628 NW |= GEPNoWrapFlags::inBounds(); in setIsInBounds()
1630 NW = NW.withoutInBounds(); in setIsInBounds()
1631 setNoWrapFlags(NW); in setIsInBounds()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1490 GEPNoWrapFlags NW; in toGEPNoWrapFlags() local
1492 NW |= GEPNoWrapFlags::inBounds(); in toGEPNoWrapFlags()
1494 NW |= GEPNoWrapFlags::noUnsignedSignedWrap(); in toGEPNoWrapFlags()
1496 NW |= GEPNoWrapFlags::noUnsignedWrap(); in toGEPNoWrapFlags()
1497 return NW; in toGEPNoWrapFlags()
5231 GEPNoWrapFlags NW; in parseFunctionBody() local
5234 NW = toGEPNoWrapFlags(Record[OpNum++]); in parseFunctionBody()
5239 NW = GEPNoWrapFlags::inBounds(); in parseFunctionBody()
5293 GEP->setNoWrapFlags(NW); in parseFunctionBody()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp4412 GEPNoWrapFlags NW; in parseValID() local
4422 NW |= GEPNoWrapFlags::inBounds(); in parseValID()
4424 NW |= GEPNoWrapFlags::noUnsignedSignedWrap(); in parseValID()
4426 NW |= GEPNoWrapFlags::noUnsignedWrap(); in parseValID()
4510 ConstantExpr::getGetElementPtr(Ty, Elts[0], Indices, NW, InRange); in parseValID()
8776 GEPNoWrapFlags NW; in parseGetElementPtr() local
8780 NW |= GEPNoWrapFlags::inBounds(); in parseGetElementPtr()
8782 NW |= GEPNoWrapFlags::noUnsignedSignedWrap(); in parseGetElementPtr()
8784 NW |= GEPNoWrapFlags::noUnsignedWrap(); in parseGetElementPtr()
8842 GEP->setNoWrapFlags(NW); in parseGetElementPtr()

12