/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | APSIntType.cpp | 16 APSIntType::testInRange(const llvm::APSInt &Value, argument 21 Value.isSigned() && Value.isNegative()) 26 if (Value.isSigned() && !IsUnsigned) 27 MinBits = Value.getMinSignedBits(); 29 MinBits = Value.getActiveBits(); 36 if (Value.isSigned()) 37 MinBits = Value.getMinSignedBits() - IsUnsigned; 39 MinBits = Value.getActiveBits() + !IsUnsigned; 45 if (Value [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 22 class Value; 39 void ComputeMaskedBits(Value *V, APInt &KnownZero, APInt &KnownOne, 45 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne, 53 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero = false, unsigned Depth = 0); 59 bool isKnownNonZero(Value *V, const DataLayout *TD = 0, unsigned Depth = 0); 70 bool MaskedValueIsZero(Value *V, const APInt &Mask, 82 unsigned ComputeNumSignBits(Value *Op, const DataLayout *TD = 0, 90 bool ComputeMultiple(Value *V, unsigned Base, Value *&Multiple, 97 bool CannotBeNegativeZero(const Value * [all...] |
H A D | InstructionSimplify.h | 46 class Value; 50 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 57 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW, 64 Value *SimplifyFAddInst(Value *LHS, Value *RH [all...] |
H A D | CaptureTracking.h | 19 class Value; 29 bool PointerMayBeCaptured(const Value *V, 59 void PointerMayBeCaptured(const Value *V, CaptureTracker *Tracker);
|
H A D | Loads.h | 29 bool isSafeToLoadUnconditionally(Value *V, Instruction *ScanFrom, 49 Value *FindAvailableLoadedValue(Value *Ptr, BasicBlock *ScanBB,
|
/freebsd-10.0-release/contrib/llvm/lib/MC/ |
H A D | MCInstPrinter.cpp | 56 static bool needsLeadingZero(uint64_t Value) argument 58 while(Value) 60 uint64_t digit = (Value >> 60) & 0xf; 63 Value <<= 4; 68 format_object1<int64_t> MCInstPrinter::formatDec(const int64_t Value) const { 69 return format("%" PRId64, Value); 72 format_object1<int64_t> MCInstPrinter::formatHex(const int64_t Value) const { 75 if (Value < 0) 76 return format("-0x%" PRIx64, -Value); 78 return format("0x%" PRIx64, Value); [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 21 class Value; 26 Value *CastToCStr(Value *V, IRBuilder<> &B); 31 Value *EmitStrLen(Value *Ptr, IRBuilder<> &B, const DataLayout *TD, 37 Value *EmitStrNLen(Value *Ptr, Value *MaxLen, IRBuilder<> &B, 43 Value *EmitStrChr(Value *Pt [all...] |
H A D | CmpInstAnalysis.h | 22 class Value; 37 /// <=> Value Definition 56 Value *getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS,
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | LEB128.h | 23 static inline void encodeSLEB128(int64_t Value, raw_ostream &OS) { argument 26 uint8_t Byte = Value & 0x7f; 28 Value >>= 7; 29 More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) || 30 ((Value == -1) && ((Byte & 0x40) != 0)))); 38 static inline void encodeULEB128(uint64_t Value, raw_ostream &OS, argument 41 uint8_t Byte = Value & 0x7f; 42 Value >>= 7; 43 if (Value != 0 || Padding != 0) 46 } while (Value ! 58 encodeULEB128(uint64_t Value, uint8_t *p, unsigned Padding = 0) argument 82 uint64_t Value = 0; local [all...] |
H A D | MathExtras.h | 30 inline uint32_t Hi_32(uint64_t Value) { argument 31 return static_cast<uint32_t>(Value >> 32); 35 inline uint32_t Lo_32(uint64_t Value) { argument 36 return static_cast<uint32_t>(Value); 106 inline bool isMask_32(uint32_t Value) { argument 107 return Value && ((Value + 1) & Value) == 0; 113 inline bool isMask_64(uint64_t Value) { argument 114 return Value 120 isShiftedMask_32(uint32_t Value) argument 126 isShiftedMask_64(uint64_t Value) argument 132 isPowerOf2_32(uint32_t Value) argument 138 isPowerOf2_64(uint64_t Value) argument 144 ByteSwap_16(uint16_t Value) argument 150 ByteSwap_32(uint32_t Value) argument 156 ByteSwap_64(uint64_t Value) argument 164 CountLeadingZeros_32(uint32_t Value) argument 192 CountLeadingOnes_32(uint32_t Value) argument 200 CountLeadingZeros_64(uint64_t Value) argument 244 CountLeadingOnes_64(uint64_t Value) argument 252 CountTrailingZeros_32(uint32_t Value) argument 272 CountTrailingOnes_32(uint32_t Value) argument 280 CountTrailingZeros_64(uint64_t Value) argument 302 CountTrailingOnes_64(uint64_t Value) argument 309 CountPopulation_32(uint32_t Value) argument 321 CountPopulation_64(uint64_t Value) argument 335 Log2_32(uint32_t Value) argument 341 Log2_64(uint64_t Value) argument 348 Log2_32_Ceil(uint32_t Value) argument 354 Log2_64_Ceil(uint64_t Value) argument 457 RoundUpToAlignment(uint64_t Value, uint64_t Align) argument 464 OffsetToAlignment(uint64_t Value, uint64_t Align) argument [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AsmBackend.cpp | 46 MCValue &Target, uint64_t &Value, 55 MCValue &Target, uint64_t &Value, 77 static uint64_t adjustFixupValue(unsigned Kind, uint64_t Value); 89 uint64_t Value, 179 uint64_t Value) const { 181 Value = adjustFixupValue(Fixup.getKind(), Value); 182 if (!Value) return; // Doesn't change encoding. 190 Data[Offset + i] |= uint8_t((Value >> (i * 8)) & 0xff); 211 uint64_t Value, 51 processFixupValue(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, MCValue &Target, uint64_t &Value, bool &IsResolved) argument 210 fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, const MCRelaxableFragment *DF, const MCAsmLayout &Layout) const argument 232 ADRImmBits(unsigned Value) argument 239 adjustFixupValue(unsigned Kind, uint64_t Value) argument [all...] |
/freebsd-10.0-release/contrib/llvm/tools/llvm-readobj/ |
H A D | StreamWriter.h | 29 T Value; member in struct:llvm::EnumEntry 37 HexNumber(int8_t Value) : Value(static_cast<uint8_t >(Value)) { } argument 38 HexNumber(int16_t Value) : Value(static_cast<uint16_t>(Value)) { } argument 39 HexNumber(int32_t Value) : Value(static_cast<uint32_t>(Value)) { } argument 40 HexNumber(int64_t Value) argument 41 HexNumber(uint8_t Value) argument 42 HexNumber(uint16_t Value) argument 43 HexNumber(uint32_t Value) argument 44 HexNumber(uint64_t Value) argument 45 uint64_t Value; member in struct:llvm::HexNumber 75 hex(T Value) argument 80 printEnum(StringRef Label, T Value, ArrayRef<EnumEntry<TEnum> > EnumValues) argument 100 printFlags(StringRef Label, T Value, ArrayRef<EnumEntry<TFlag> > Flags, TFlag EnumMask = TFlag(0)) argument 130 printFlags(StringRef Label, T Value) argument 143 printNumber(StringRef Label, uint64_t Value) argument 144 startLine() << Label << ": " << Value << "\\n"; local 147 printNumber(StringRef Label, uint32_t Value) argument 148 startLine() << Label << ": " << Value << "\\n"; local 151 printNumber(StringRef Label, uint16_t Value) argument 152 startLine() << Label << ": " << Value << "\\n"; local 155 printNumber(StringRef Label, uint8_t Value) argument 159 printNumber(StringRef Label, int64_t Value) argument 160 startLine() << Label << ": " << Value << "\\n"; local 163 printNumber(StringRef Label, int32_t Value) argument 164 startLine() << Label << ": " << Value << "\\n"; local 167 printNumber(StringRef Label, int16_t Value) argument 168 startLine() << Label << ": " << Value << "\\n"; local 171 printNumber(StringRef Label, int8_t Value) argument 176 printHex(StringRef Label, T Value) argument 181 printHex(StringRef Label, StringRef Str, T Value) argument 185 printString(StringRef Label, StringRef Value) argument 186 startLine() << Label << ": " << Value << "\\n"; local 189 printString(StringRef Label, const std::string &Value) argument 190 startLine() << Label << ": " << Value << "\\n"; local 194 printNumber(StringRef Label, StringRef Str, T Value) argument 195 startLine() << Label << ": " << Str << " (" << Value << ")\\n"; local 198 printBinary(StringRef Label, StringRef Str, ArrayRef<uint8_t> Value) argument 202 printBinary(StringRef Label, StringRef Str, ArrayRef<char> Value) argument 208 printBinary(StringRef Label, ArrayRef<uint8_t> Value) argument 212 printBinary(StringRef Label, ArrayRef<char> Value) argument 218 printBinary(StringRef Label, StringRef Value) argument 224 printBinaryBlock(StringRef Label, StringRef Value) argument [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/MC/ |
H A D | MCObjectWriter.h | 115 void Write8(uint8_t Value) { argument 116 OS << char(Value); 119 void WriteLE16(uint16_t Value) { argument 120 Write8(uint8_t(Value >> 0)); 121 Write8(uint8_t(Value >> 8)); 124 void WriteLE32(uint32_t Value) { argument 125 WriteLE16(uint16_t(Value >> 0)); 126 WriteLE16(uint16_t(Value >> 16)); 129 void WriteLE64(uint64_t Value) { argument 130 WriteLE32(uint32_t(Value >> 134 WriteBE16(uint16_t Value) argument 139 WriteBE32(uint32_t Value) argument 144 WriteBE64(uint64_t Value) argument 149 Write16(uint16_t Value) argument 156 Write32(uint32_t Value) argument 163 Write64(uint64_t Value) argument [all...] |
H A D | MCInstPrinter.h | 81 void setAvailableFeatures(unsigned Value) { AvailableFeatures = Value; } argument 84 void setUseMarkup(bool Value) { UseMarkup = Value; } argument 91 void setPrintImmHex(bool Value) { PrintImmHex = Value; } argument 94 void setPrintImmHex(HexStyle::Style Value) { PrintHexStyle = Value; } argument 97 format_object1<int64_t> formatImm(const int64_t Value) const { return PrintImmHex ? formatHex(Value) [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/ |
H A D | Value.h | 1 //===-- llvm/Value.h - Definition of the Value class ------------*- C++ -*-===// 10 // This file declares the Value class. 36 typedef StringMapEntry<Value*> ValueName; 47 // Value Class 51 /// computed by a program that may be used as operands to other values. Value is 53 /// All Values have a Type. Type is not a subclass of Value. Some values can 54 /// have a name and they belong to some Module. Setting the name on the Value 58 /// using this Value. A Value ca 63 class Value { class in namespace:llvm [all...] |
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Vectorize/ |
H A D | VecUtils.h | 27 class VectorType; class StoreInst; class Value; 34 typedef SmallVector<Value*, 8> ValueList; 35 typedef SmallPtrSet<Value*, 16> ValueSet; 45 static Value *getPointerOperand(Value *I); 49 static unsigned getAddressSpaceOperand(Value *I); 52 bool isConsecutiveAccess(Value *A, Value *B); 56 Value *vectorizeTree(ArrayRef<Value *> V [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | StringSwitch.h | 55 StringSwitch& Case(const char (&S)[N], const T& Value) { argument 58 Result = &Value; 65 StringSwitch& EndsWith(const char (&S)[N], const T &Value) { argument 68 Result = &Value; 75 StringSwitch& StartsWith(const char (&S)[N], const T &Value) { argument 78 Result = &Value; 86 const T& Value) { 87 return Case(S0, Value).Case(S1, Value); 92 const char (&S2)[N2], const T& Value) { 85 Cases(const char (&S0)[N0], const char (&S1)[N1], const T& Value) argument 91 Cases(const char (&S0)[N0], const char (&S1)[N1], const char (&S2)[N2], const T& Value) argument 97 Cases(const char (&S0)[N0], const char (&S1)[N1], const char (&S2)[N2], const char (&S3)[N3], const T& Value) argument 104 Cases(const char (&S0)[N0], const char (&S1)[N1], const char (&S2)[N2], const char (&S3)[N3], const char (&S4)[N4], const T& Value) argument [all...] |
H A D | Statistic.h | 39 volatile llvm::sys::cas_flag Value; member in class:llvm::Statistic 42 llvm::sys::cas_flag getValue() const { return Value; } 49 Value = 0; Initialized = 0; 53 operator unsigned() const { return Value; } 57 Value = Val; 66 sys::AtomicIncrement(&Value); 72 unsigned OldValue = Value; 73 sys::AtomicIncrement(&Value); 78 sys::AtomicDecrement(&Value); 84 unsigned OldValue = Value; [all...] |
/freebsd-10.0-release/contrib/llvm/lib/IR/ |
H A D | IntrinsicInst.cpp | 34 static Value *CastOperand(Value *C) { 41 Value *DbgInfoIntrinsic::StripCast(Value *C) { 42 if (Value *CO = CastOperand(C)) { 46 if (Value *CO = CastOperand(GV->getInitializer())) 56 Value *DbgDeclareInst::getAddress() const { 67 const Value *DbgValueInst::getValue() const { 71 Value *DbgValueInst::getValue() {
|
/freebsd-10.0-release/contrib/llvm/lib/Transforms/ObjCARC/ |
H A D | ProvenanceAnalysis.h | 31 class Value; 52 typedef std::pair<const Value *, const Value *> ValuePairTy; 56 bool relatedCheck(const Value *A, const Value *B); 57 bool relatedSelect(const SelectInst *A, const Value *B); 58 bool relatedPHI(const PHINode *A, const Value *B); 70 bool related(const Value *A, const Value *B);
|
/freebsd-10.0-release/contrib/llvm/include/llvm/Assembly/ |
H A D | Writer.h | 23 class Value; 32 void WriteAsOperand(raw_ostream &, const Value *, bool PrintTy = true,
|
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.h | 20 #include "llvm/IR/Value.h" 35 bool isTexture(const llvm::Value &); 36 bool isSurface(const llvm::Value &); 37 bool isSampler(const llvm::Value &); 38 bool isImage(const llvm::Value &); 39 bool isImageReadOnly(const llvm::Value &); 40 bool isImageWriteOnly(const llvm::Value &); 42 std::string getTextureName(const llvm::Value &); 43 std::string getSurfaceName(const llvm::Value &); 44 std::string getSamplerName(const llvm::Value [all...] |
/freebsd-10.0-release/contrib/llvm/tools/llvm-diff/ |
H A D | DiffConsumer.h | 26 class Value; 37 virtual void enterContext(Value *Left, Value *Right) = 0; 58 DiffContext(Value *L, Value *R) 60 Value *L; 61 Value *R; 64 DenseMap<Value*,unsigned> LNumbering; 65 DenseMap<Value*,unsigned> RNumbering; 73 void printValue(Value * [all...] |
/freebsd-10.0-release/sys/dev/acpica/Osd/ |
H A D | OsdHardware.c | 50 AcpiOsReadPort(ACPI_IO_ADDRESS InPort, UINT32 *Value, UINT32 Width) argument 55 *Value = iodev_read_1(InPort); 58 *Value = iodev_read_2(InPort); 61 *Value = iodev_read_4(InPort); 69 AcpiOsWritePort(ACPI_IO_ADDRESS OutPort, UINT32 Value, UINT32 Width) argument 74 iodev_write_1(OutPort, Value); 77 iodev_write_2(OutPort, Value); 80 iodev_write_4(OutPort, Value); 88 AcpiOsReadPciConfiguration(ACPI_PCI_ID *PciId, UINT32 Register, UINT64 *Value, argument 98 *(UINT64 *)Value 106 AcpiOsWritePciConfiguration(ACPI_PCI_ID *PciId, UINT32 Register, UINT64 Value, UINT32 Width) argument [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Object/ |
H A D | RelocVisitor.h | 30 int64_t Value; member in struct:llvm::object::RelocToApply 35 RelocToApply(const RelocToApply &In) : Value(In.Value), Width(In.Width) {} 36 RelocToApply(int64_t Value, char Width) : Value(Value), Width(Width) {} argument 37 RelocToApply() : Value(0), Width(0) {} 50 uint64_t Value = 0) { 56 return visitELF_X86_64_64(R, Value); 58 return visitELF_X86_64_PC32(R, Value, SecAdd 135 visitELF_386_32(RelocationRef R, uint64_t Value) argument 141 visitELF_386_PC32(RelocationRef R, uint64_t Value, uint64_t SecAddr) argument 154 visitELF_X86_64_64(RelocationRef R, uint64_t Value) argument 159 visitELF_X86_64_PC32(RelocationRef R, uint64_t Value, uint64_t SecAddr) argument 167 visitELF_X86_64_32(RelocationRef R, uint64_t Value) argument 173 visitELF_X86_64_32S(RelocationRef R, uint64_t Value) argument 181 visitELF_PPC64_ADDR32(RelocationRef R, uint64_t Value) argument 189 visitELF_MIPS_32(RelocationRef R, uint64_t Value) argument 197 visitELF_AARCH64_ABS32(RelocationRef R, uint64_t Value) argument 209 visitELF_AARCH64_ABS64(RelocationRef R, uint64_t Value) argument 216 visitELF_390_32(RelocationRef R, uint64_t Value) argument 228 visitELF_390_64(RelocationRef R, uint64_t Value) argument [all...] |