/freebsd-10-stable/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-stable/contrib/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 22 class Value; 40 void ComputeMaskedBits(Value *V, APInt &KnownZero, APInt &KnownOne, 46 void ComputeSignBit(Value *V, bool &KnownZero, bool &KnownOne, 54 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero = false, unsigned Depth = 0); 60 bool isKnownNonZero(Value *V, const DataLayout *TD = 0, unsigned Depth = 0); 71 bool MaskedValueIsZero(Value *V, const APInt &Mask, 83 unsigned ComputeNumSignBits(Value *Op, const DataLayout *TD = 0, 91 bool ComputeMultiple(Value *V, unsigned Base, Value *&Multiple, 98 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,
|
H A D | PHITransAddr.h | 37 Value *Addr; 48 PHITransAddr(Value *addr, const DataLayout *td) : Addr(addr), TD(td), TLI(0) { 54 Value *getAddr() const { return Addr; } 86 Value *PHITranslateWithInsertion(BasicBlock *CurBB, BasicBlock *PredBB, 97 Value *PHITranslateSubExpr(Value *V, BasicBlock *CurBB, BasicBlock *PredBB, 105 Value *InsertPHITranslatedSubExpr(Value *InVal, BasicBlock *CurBB, 110 Value *AddAsInput(Value * [all...] |
/freebsd-10-stable/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-stable/contrib/llvm/include/llvm/Support/ |
H A D | LEB128.h | 23 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 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...] |
/freebsd-10-stable/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-stable/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-stable/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. 47 typedef StringMapEntry<Value*> ValueName; 50 // Value Class 54 /// computed by a program that may be used as operands to other values. Value is 56 /// All Values have a Type. Type is not a subclass of Value. Some values can 57 /// have a name and they belong to some Module. Setting the name on the Value 61 /// using this Value. A Value ca 66 class Value { class in namespace:llvm [all...] |
H A D | IntrinsicInst.h | 53 static inline bool classof(const Value *V) { 72 static inline bool classof(const Value *V) { 76 static Value *StripCast(Value *C); 83 Value *getAddress() const; 90 static inline bool classof(const Value *V) { 99 const Value *getValue() const; 100 Value *getValue(); 103 const_cast<Value*>(getArgOperand(1)))->getZExtValue(); 111 static inline bool classof(const Value * [all...] |
H A D | InstrTypes.h | 79 static inline bool classof(const Value *V) { 93 UnaryInstruction(Type *Ty, unsigned iType, Value *V, 98 UnaryInstruction(Type *Ty, unsigned iType, Value *V, BasicBlock *IAE) 112 DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value); 122 static inline bool classof(const Value *V) { 132 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(UnaryInstruction, Value) 142 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, 144 BinaryOperator(BinaryOps iType, Value *S1, Value *S [all...] |
/freebsd-10-stable/contrib/llvm/lib/MC/ |
H A D | MCInstPrinter.cpp | 60 static bool needsLeadingZero(uint64_t Value) argument 62 while(Value) 64 uint64_t digit = (Value >> 60) & 0xf; 67 Value <<= 4; 72 format_object1<int64_t> MCInstPrinter::formatDec(const int64_t Value) const { 73 return format("%" PRId64, Value); 76 format_object1<int64_t> MCInstPrinter::formatHex(const int64_t Value) const { 79 if (Value < 0) 80 return format("-0x%" PRIx64, -Value); 82 return format("0x%" PRIx64, Value); [all...] |
/freebsd-10-stable/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(uint64_t 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-stable/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-stable/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-stable/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-stable/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-stable/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-stable/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-stable/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...] |