Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 25 of 2748) sorted by relevance

12345678910>>...110

/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
HDInstructionSimplify.h54 class Value; variable
61 Value *simplifyAddInst(Value *LHS, Value *RHS, bool IsNSW, bool IsNUW,
65 Value *simplifySubInst(Value *LHS, Value *RHS, bool IsNSW, bool IsNUW,
69 Value *simplifyMulInst(Value *LHS, Value *RHS, bool IsNSW, bool IsNUW,
73 Value *simplifySDivInst(Value *LHS, Value *RHS, bool IsExact,
77 Value *simplifyUDivInst(Value *LHS, Value *RHS, bool IsExact,
81 Value *simplifySRemInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
84 Value *simplifyURemInst(Value *LHS, Value *RHS, const SimplifyQuery &Q);
87 Value *simplifyFNegInst(Value *Op, FastMathFlags FMF, const SimplifyQuery &Q);
91 Value *
[all …]
HDInstSimplifyFolder.h50 Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, in FoldBinOp()
51 Value *RHS) const override { in FoldBinOp()
55 Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldExactBinOp()
60 Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldNoWrapBinOp()
65 Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldBinOpFMF()
70 Value *FoldUnOpFMF(Instruction::UnaryOps Opc, Value *V, in FoldUnOpFMF()
75 Value *FoldCmp(CmpInst::Predicate P, Value *LHS, Value *RHS) const override { in FoldCmp()
79 Value *FoldGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, in FoldGEP()
84 Value *FoldSelect(Value *C, Value *True, Value *False) const override { in FoldSelect()
88 Value *FoldExtractValue(Value *Agg, in FoldExtractValue()
[all …]
HDValueTracking.h46 class Value; variable
58 void computeKnownBits(const Value *V, KnownBits &Known, const DataLayout &DL,
65 KnownBits computeKnownBits(const Value *V, const DataLayout &DL,
72 KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
79 KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
82 KnownBits computeKnownBits(const Value *V, unsigned Depth,
85 void computeKnownBits(const Value *V, KnownBits &Known, unsigned Depth,
94 void computeKnownBitsFromContext(const Value *V, KnownBits &Known,
105 void adjustKnownBitsForSelectArm(KnownBits &Known, Value *Cond, Value *Arm,
110 bool haveNoCommonBitsSet(const WithCache<const Value *> &LHSCache,
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
HDBuildLibCalls.h20 class Value; variable
93 Value *emitStrLen(Value *Ptr, IRBuilderBase &B, const DataLayout &DL,
99 Value *emitStrDup(Value *Ptr, IRBuilderBase &B, const TargetLibraryInfo *TLI);
104 Value *emitStrChr(Value *Ptr, char C, IRBuilderBase &B,
108 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
113 Value *emitStrCpy(Value *Dst, Value *Src, IRBuilderBase &B,
118 Value *emitStpCpy(Value *Dst, Value *Src, IRBuilderBase &B,
123 Value *emitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilderBase &B,
128 Value *emitStpNCpy(Value *Dst, Value *Src, Value *Len, IRBuilderBase &B,
133 Value *emitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
[all …]
HDSimplifyLibCalls.h23 class Value; variable
52 Value *optimizeCall(CallInst *CI, IRBuilderBase &B);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilderBase &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilderBase &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilderBase &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilderBase &B, LibFunc Func);
62 Value *optimizeStrLenChk(CallInst *CI, IRBuilderBase &B);
63 Value *optimizeMemPCpyChk(CallInst *CI, IRBuilderBase &B);
64 Value *optimizeMemCCpyChk(CallInst *CI, IRBuilderBase &B);
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDIRBuilderFolder.h36 virtual Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS,
37 Value *RHS) const = 0;
39 virtual Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS,
40 Value *RHS, bool IsExact) const = 0;
42 virtual Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS,
43 Value *RHS, bool HasNUW,
46 virtual Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS,
47 Value *RHS, FastMathFlags FMF) const = 0;
49 virtual Value *FoldUnOpFMF(Instruction::UnaryOps Opc, Value *V,
52 virtual Value *FoldCmp(CmpInst::Predicate P, Value *LHS,
[all …]
HDNoFolder.h48 Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, in FoldBinOp()
49 Value *RHS) const override { in FoldBinOp()
53 Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldExactBinOp()
58 Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldNoWrapBinOp()
63 Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldBinOpFMF()
68 Value *FoldUnOpFMF(Instruction::UnaryOps Opc, Value *V, in FoldUnOpFMF()
73 Value *FoldCmp(CmpInst::Predicate P, Value *LHS, Value *RHS) const override { in FoldCmp()
77 Value *FoldGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, in FoldGEP()
82 Value *FoldSelect(Value *C, Value *True, Value *False) const override { in FoldSelect()
86 Value *FoldExtractValue(Value *Agg, in FoldExtractValue()
[all …]
HDIRBuilder.h153 Value *Insert(Value *V, const Twine &Name = "") const {
592 CallInst *CreateMemSet(Value *Ptr, Value *Val, uint64_t Size,
600 CallInst *CreateMemSet(Value *Ptr, Value *Val, Value *Size, MaybeAlign Align,
605 CallInst *CreateMemSetInline(Value *Dst, MaybeAlign DstAlign, Value *Val,
606 Value *Size, bool IsVolatile = false,
617 CallInst *CreateElementUnorderedAtomicMemSet(Value *Ptr, Value *Val,
628 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize,
629 Value *ArraySize, ArrayRef<OperandBundleDef> OpB,
637 CallInst *CreateMalloc(Type *IntPtrTy, Type *AllocTy, Value *AllocSize,
638 Value *ArraySize, Function *MallocF = nullptr,
[all …]
HDValue.h55 using ValueName = StringMapEntry<Value *>;
74 class Value {
126 friend class Value; variable
172 friend class Value; variable
215 Value(Type *Ty, unsigned scid);
222 ~Value(); // Use deleteValue() to delete a generic Value.
225 Value(const Value &) = delete;
226 Value &operator=(const Value &) = delete;
268 void doRAUW(Value *New, ReplaceMetadataUses);
291 void takeName(Value *V);
[all …]
HDValueHandle.h30 friend class Value; variable
51 Value *Val = nullptr;
53 void setValPtr(Value *V) { Val = V; } in setValPtr()
58 ValueHandleBase(HandleBaseKind Kind, Value *V) in ValueHandleBase()
69 Value *operator=(Value *RHS) {
80 Value *operator=(const ValueHandleBase &RHS) {
91 Value *operator->() const { return getValPtr(); }
92 Value &operator*() const {
93 Value *V = getValPtr();
99 Value *getValPtr() const { return Val; } in getValPtr()
[all …]
HDConstantFolder.h43 Value *FoldBinOp(Instruction::BinaryOps Opc, Value *LHS, in FoldBinOp()
44 Value *RHS) const override { in FoldBinOp()
55 Value *FoldExactBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldExactBinOp()
68 Value *FoldNoWrapBinOp(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldNoWrapBinOp()
86 Value *FoldBinOpFMF(Instruction::BinaryOps Opc, Value *LHS, Value *RHS, in FoldBinOpFMF()
91 Value *FoldUnOpFMF(Instruction::UnaryOps Opc, Value *V, in FoldUnOpFMF()
98 Value *FoldCmp(CmpInst::Predicate P, Value *LHS, Value *RHS) const override { in FoldCmp()
106 Value *FoldGEP(Type *Ty, Value *Ptr, ArrayRef<Value *> IdxList, in FoldGEP()
113 if (any_of(IdxList, [](Value *V) { return !isa<Constant>(V); })) in FoldGEP()
121 Value *FoldSelect(Value *C, Value *True, Value *False) const override { in FoldSelect()
[all …]
HDFixedPointBuilder.h35 Value *Convert(Value *Src, const FixedPointSemantics &SrcSema, in Convert()
46 Value *Result = Src; in Convert()
55 Value *Zero = Constant::getNullValue(Result->getType()); in Convert()
56 Value *IsNegative = B.CreateICmpSLT(Result, Zero); in Convert()
57 Value *LowBits = ConstantInt::get( in Convert()
59 Value *Rounded = B.CreateAdd(Result, LowBits); in Convert()
88 Value *Max = ConstantInt::get( in Convert()
91 Value *TooHigh = SrcIsSigned ? B.CreateICmpSGT(Result, Max) in Convert()
98 Value *Min = ConstantInt::get( in Convert()
101 Value *TooLow = B.CreateICmpSLT(Result, Min); in Convert()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDScopedPrinter.h34 T Value; member
36 : Name(N), AltName(A), Value(V) {} in EnumEntry()
37 constexpr EnumEntry(StringRef N, T V) : Name(N), AltName(N), Value(V) {} in EnumEntry()
45 HexNumber(char Value) : Value(static_cast<unsigned char>(Value)) {} in HexNumber()
46 HexNumber(signed char Value) : Value(static_cast<unsigned char>(Value)) {} in HexNumber()
47 HexNumber(signed short Value) : Value(static_cast<unsigned short>(Value)) {} in HexNumber()
48 HexNumber(signed int Value) : Value(static_cast<unsigned int>(Value)) {} in HexNumber()
49 HexNumber(signed long Value) : Value(static_cast<unsigned long>(Value)) {} in HexNumber()
50 HexNumber(signed long long Value) in HexNumber()
51 : Value(static_cast<unsigned long long>(Value)) {} in HexNumber()
[all …]
HDLEB128.h23 inline unsigned encodeSLEB128(int64_t Value, raw_ostream &OS,
28 uint8_t Byte = Value & 0x7f;
30 Value >>= 7;
31 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
32 ((Value == -1) && ((Byte & 0x40) != 0))));
41 uint8_t PadValue = Value < 0 ? 0x7f : 0x00;
52 inline unsigned encodeSLEB128(int64_t Value, uint8_t *p, unsigned PadTo = 0) {
57 uint8_t Byte = Value & 0x7f;
59 Value >>= 7;
60 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
HDAVRAsmBackend.cpp38 static void signed_width(unsigned Width, uint64_t Value, in signed_width() argument
41 if (!isIntN(Width, Value)) { in signed_width()
58 static void unsigned_width(unsigned Width, uint64_t Value, in unsigned_width() argument
61 if (!isUIntN(Width, Value)) { in unsigned_width()
78 static void adjustBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in adjustBranch() argument
82 unsigned_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustBranch()
85 AVR::fixups::adjustBranchTarget(Value); in adjustBranch()
90 uint64_t &Value, MCContext *Ctx = nullptr) { in adjustRelativeBranch() argument
92 Value -= 2; in adjustRelativeBranch()
96 signed_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustRelativeBranch()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Object/
HDGOFF.h59 uint8_t Length, uint8_t &Value) { in getBits() argument
64 get<uint8_t>(Bytes, ByteIndex, Value); in getBits()
65 Value = (Value >> (8 - BitIndex - Length)) & ((1 << Length) - 1); in getBits()
69 static void get(const uint8_t *Bytes, uint8_t ByteIndex, T &Value) { in get() argument
72 Value = support::endian::read<T, llvm::endianness::big>(&Bytes[ByteIndex]); in get()
126 uint8_t Value; in getSymbolType() local
127 get<uint8_t>(Record, 3, Value); in getSymbolType()
128 SymbolType = (GOFF::ESDSymbolType)Value; in getSymbolType()
148 uint8_t Value; in getNameSpaceId() local
149 get<uint8_t>(Record, 40, Value); in getNameSpaceId()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/ADT/
HDStringSwitch.h69 StringSwitch &Case(StringLiteral S, T Value) { in Case() argument
71 Result = std::move(Value); in Case()
76 StringSwitch& EndsWith(StringLiteral S, T Value) { in EndsWith() argument
78 Result = std::move(Value); in EndsWith()
83 StringSwitch& StartsWith(StringLiteral S, T Value) { in StartsWith() argument
85 Result = std::move(Value); in StartsWith()
90 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) { in Cases() argument
91 return Case(S0, Value).Case(S1, Value); in Cases()
95 T Value) { in Cases() argument
96 return Case(S0, Value).Cases(S1, S2, Value); in Cases()
[all …]
HDAny.h45 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl()
47 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl()
50 return std::make_unique<StorageImpl<T>>(Value); in clone()
55 T Value; member
88 Any(T &&Value) { in Any() argument
90 std::make_unique<StorageImpl<std::decay_t<T>>>(std::forward<T>(Value)); in Any()
117 template <class T> friend T any_cast(const Any &Value);
118 template <class T> friend T any_cast(Any &Value);
119 template <class T> friend T any_cast(Any &&Value);
120 template <class T> friend const T *any_cast(const Any *Value);
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
HDARMAsmBackend.cpp253 static const char *checkPCRelOffset(uint64_t Value, int64_t Min, int64_t Max) { in checkPCRelOffset() argument
254 int64_t Offset = int64_t(Value) - 4; in checkPCRelOffset()
261 uint64_t Value) const { in reasonForFixupRelaxation()
270 int64_t Offset = int64_t(Value) - 4; in reasonForFixupRelaxation()
282 int64_t Offset = int64_t(Value) - 4; in reasonForFixupRelaxation()
291 int64_t Offset = int64_t(Value) - 4; in reasonForFixupRelaxation()
302 int64_t Offset = (Value & ~1); in reasonForFixupRelaxation()
308 return checkPCRelOffset(Value, 0, 30); in reasonForFixupRelaxation()
310 return checkPCRelOffset(Value, -0x10000, +0xfffe); in reasonForFixupRelaxation()
312 return checkPCRelOffset(Value, -0x40000, +0x3fffe); in reasonForFixupRelaxation()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
HDCodeViewRecordIO.cpp151 Error CodeViewRecordIO::mapEncodedInteger(int64_t &Value, in mapEncodedInteger() argument
154 if (Value >= 0) in mapEncodedInteger()
155 emitEncodedUnsignedInteger(static_cast<uint64_t>(Value), Comment); in mapEncodedInteger()
157 emitEncodedSignedInteger(Value, Comment); in mapEncodedInteger()
159 if (Value >= 0) { in mapEncodedInteger()
160 if (auto EC = writeEncodedUnsignedInteger(static_cast<uint64_t>(Value))) in mapEncodedInteger()
163 if (auto EC = writeEncodedSignedInteger(Value)) in mapEncodedInteger()
170 Value = N.getExtValue(); in mapEncodedInteger()
176 Error CodeViewRecordIO::mapEncodedInteger(uint64_t &Value, in mapEncodedInteger() argument
179 emitEncodedUnsignedInteger(Value, Comment); in mapEncodedInteger()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
HDRuntimeDyldELFMips.cpp15 uint64_t Value) { in resolveRelocation() argument
18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation()
20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation()
30 uint64_t Value, in evaluateRelocation() argument
34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation()
36 return Value; in evaluateRelocation()
42 uint64_t Value) { in applyRelocation() argument
45 applyMIPSRelocation(Section.getAddressWithOffset(RE.Offset), Value, in applyRelocation()
54 uint64_t Offset, uint64_t Value, in evaluateMIPS32Relocation() argument
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
HDXtensaInstPrinter.cpp143 int64_t Value = MI->getOperand(OpNum).getImm(); in printL32RTarget() local
144 int64_t InstrOff = Value & 0x3; in printL32RTarget()
145 Value -= InstrOff; in printL32RTarget()
146 assert((Value >= -262144 && Value <= -4) && in printL32RTarget()
148 Value += ((InstrOff + 0x3) & 0x4) - InstrOff; in printL32RTarget()
150 O << Value; in printL32RTarget()
160 int64_t Value = MI->getOperand(OpNum).getImm(); in printImm8_AsmOperand() local
161 assert(isInt<8>(Value) && in printImm8_AsmOperand()
163 O << Value; in printImm8_AsmOperand()
172 int64_t Value = MI->getOperand(OpNum).getImm(); in printImm8_sh8_AsmOperand() local
[all …]
/freebsd-14-stable/sys/contrib/dev/acpica/compiler/
HDaslpld.c204 UINT32 Value; in OpcDoPld() local
229 Value = (UINT32) ThisOp->Asl.Child->Asl.Value.Integer; in OpcDoPld()
241 if (Value > 127) in OpcDoPld()
247 PldInfo.Revision = (UINT8) Value; in OpcDoPld()
258 if (Value > 1) in OpcDoPld()
264 PldInfo.IgnoreColor = (UINT8) Value; in OpcDoPld()
277 if (Value > 255) in OpcDoPld()
285 PldInfo.Red = (UINT8) Value; in OpcDoPld()
289 PldInfo.Green = (UINT8) Value; in OpcDoPld()
293 PldInfo.Blue = (UINT8) Value; in OpcDoPld()
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
HDRuntimeDyldELF.cpp260 uint64_t Offset, uint64_t Value, in resolveX86_64Relocation() argument
270 Value += Addend; in resolveX86_64Relocation()
271 assert((int64_t)Value <= INT8_MAX && (int64_t)Value >= INT8_MIN); in resolveX86_64Relocation()
272 uint8_t TruncatedAddr = (Value & 0xFF); in resolveX86_64Relocation()
279 Value += Addend; in resolveX86_64Relocation()
280 assert((int64_t)Value <= INT16_MAX && (int64_t)Value >= INT16_MIN); in resolveX86_64Relocation()
281 uint16_t TruncatedAddr = (Value & 0xFFFF); in resolveX86_64Relocation()
290 Value + Addend; in resolveX86_64Relocation()
291 LLVM_DEBUG(dbgs() << "Writing " << format("%p", (Value + Addend)) << " at " in resolveX86_64Relocation()
297 Value += Addend; in resolveX86_64Relocation()
[all …]
/freebsd-14-stable/contrib/libfido2/windows/
HDconst.ps18 -Value 'https://cloudflare.cdn.openbsd.org/pub/OpenBSD/LibreSSL' `
10 New-Variable -Name 'LIBRESSL' -Value 'libressl-3.7.3' -Option Constant
11 New-Variable -Name 'CRYPTO_LIBRARIES' -Value 'crypto-50' -Option Constant
14 New-Variable -Name 'LIBCBOR' -Value 'libcbor-0.10.2' -Option Constant
15 New-Variable -Name 'LIBCBOR_BRANCH' -Value 'v0.10.2' -Option Constant
16 New-Variable -Name 'LIBCBOR_GIT' -Value 'https://github.com/pjk/libcbor' `
20 New-Variable -Name 'ZLIB' -Value 'zlib-1.3' -Option Constant
21 New-Variable -Name 'ZLIB_BRANCH' -Value 'v1.3' -Option Constant
22 New-Variable -Name 'ZLIB_GIT' -Value 'https://github.com/madler/zlib' `
26 New-Variable -Name 'BUILD' -Value "$PSScriptRoot\..\build" -Option Constant
[all …]

12345678910>>...110