/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 33 llvm::PointerUnion<EltTy, VecTy*> Val; member in class:llvm::TinyPtrVector 37 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 41 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { 42 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 43 Val = new VecTy(*V); 55 if (Val.template is<EltTy>()) { 57 Val = RHS.front(); 59 Val = new VecTy(*RHS.Val [all...] |
H A D | DenseMapInfo.h | 26 //static unsigned getHashValue(const T &Val); 34 uintptr_t Val = static_cast<uintptr_t>(-1); local 35 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; 36 return reinterpret_cast<T*>(Val); 39 uintptr_t Val = static_cast<uintptr_t>(-2); local 40 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; 41 return reinterpret_cast<T*>(Val); 54 static unsigned getHashValue(const char& Val) { return Val * 37U; } argument 64 static unsigned getHashValue(const unsigned& Val) { retur argument 74 getHashValue(const unsigned long& Val) argument 86 getHashValue(const unsigned long long& Val) argument 99 getHashValue(const int& Val) argument 111 getHashValue(const long& Val) argument 123 getHashValue(const long long& Val) argument [all...] |
H A D | UniqueVector.h | 38 unsigned &Val = Map[Entry]; local 41 if (Val) return Val; 44 Val = static_cast<unsigned>(Vector.size()) + 1; 48 return Val;
|
H A D | PointerUnion.h | 85 ValTy Val; 99 PointerUnion(PT1 V) : Val( 102 PointerUnion(PT2 V) : Val( 111 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer()); 123 return static_cast<int>(Val.getInt()) == TyNo; 131 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer()); 151 assert(is<PT1>() && "Val is not the first pointer"); 152 assert(get<PT1>() == Val.getPointer() && 154 return (PT1 *)Val.getAddrOfPointer(); 160 Val 222 ValTy Val; member in class:llvm::PointerUnion3 225 ValTy Val; member in struct:llvm::PointerUnion3::IsInnerUnion 239 ValTy Val; member in struct:llvm::PointerUnion3::IsPT3 355 ValTy Val; member in class:llvm::PointerUnion4 [all...] |
H A D | Twine.h | 289 explicit Twine(char Val) argument 291 LHS.character = Val; 295 explicit Twine(signed char Val) argument 297 LHS.character = static_cast<char>(Val); 301 explicit Twine(unsigned char Val) argument 303 LHS.character = static_cast<char>(Val); 306 /// Construct a twine to print \p Val as an unsigned decimal integer. 307 explicit Twine(unsigned Val) argument 309 LHS.decUI = Val; 312 /// Construct a twine to print \p Val a 313 Twine(int Val) argument 319 Twine(const unsigned long &Val) argument 325 Twine(const long &Val) argument 331 Twine(const unsigned long long &Val) argument 337 Twine(const long long &Val) argument 374 utohexstr(const uint64_t &Val) argument [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/ |
H A D | MCInstBuilder.h | 38 MCInstBuilder &addImm(int64_t Val) { argument 39 Inst.addOperand(MCOperand::CreateImm(Val)); 44 MCInstBuilder &addFPImm(double Val) { argument 45 Inst.addOperand(MCOperand::CreateFPImm(Val)); 50 MCInstBuilder &addExpr(const MCExpr *Val) { argument 51 Inst.addOperand(MCOperand::CreateExpr(Val)); 56 MCInstBuilder &addInst(const MCInst *Val) { argument 57 Inst.addOperand(MCOperand::CreateInst(Val));
|
H A D | MCInst.h | 78 void setImm(int64_t Val) { argument 80 ImmVal = Val; 88 void setFPImm(double Val) { argument 90 FPImmVal = Val; 97 void setExpr(const MCExpr *Val) { argument 99 ExprVal = Val; 106 void setInst(const MCInst *Val) { argument 108 InstVal = Val; 117 static MCOperand CreateImm(int64_t Val) { argument 120 Op.ImmVal = Val; 123 CreateFPImm(double Val) argument 129 CreateExpr(const MCExpr *Val) argument 135 CreateInst(const MCInst *Val) argument [all...] |
H A D | MCValue.h | 56 int64_t Val = 0) { 59 R.Cst = Val; 65 static MCValue get(int64_t Val) { argument 67 R.Cst = Val;
|
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | Casting.h | 35 static SimpleType &getSimplifiedValue(From &Val) { return Val; } argument 44 static RetType getSimplifiedValue(const From& Val) { argument 45 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val)); 54 static inline bool doit(const From &Val) { argument 55 return To::classof(&Val); 70 static inline bool doit(const From &Val) { argument 71 return isa_impl<To, From>::doit(Val); 76 static inline bool doit(const From &Val) { argument 77 return isa_impl<To, From>::doit(Val); 82 doit(const From *Val) argument 89 doit(const From *Val) argument 96 doit(const From *Val) argument 103 doit(const From *Val) argument 113 doit(const From &Val) argument 123 doit(const FromTy &Val) argument 134 isa(const Y &Val) argument 193 doit(From &Val) argument 202 doit(const FromTy &Val) argument 224 cast(const Y &Val) argument 231 cast(Y &Val) argument 238 cast(Y *Val) argument 248 cast_or_null(Y *Val) argument 266 dyn_cast(const Y &Val) argument 271 dyn_cast(Y &Val) argument 276 dyn_cast(Y *Val) argument 284 dyn_cast_or_null(Y *Val) argument [all...] |
H A D | MathExtras.h | 49 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) { argument 52 if (!Val) 54 if (Val & 0x1) 62 if ((Val & Mask) == 0) { 63 Val >>= Shift; 76 countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) LLVM_DELETED_FUNCTION; 80 inline std::size_t countTrailingZeros<uint32_t>(uint32_t Val, ZeroBehavior ZB) { argument 81 if (ZB != ZB_Undefined && Val == 0) 85 return __builtin_ctz(Val); 88 _BitScanForward(&Index, Val); 95 countTrailingZeros(uint64_t Val, ZeroBehavior ZB) argument 120 countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) argument 146 countLeadingZeros(uint32_t Val, ZeroBehavior ZB) argument 161 countLeadingZeros(uint64_t Val, ZeroBehavior ZB) argument 186 findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) argument 209 findLastSet(T Val, ZeroBehavior ZB = ZB_Max) argument 237 reverseBits(T Val) argument [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/SystemZ/ |
H A D | SystemZ.h | 78 // Return true if Val fits an LLILL operand. 79 static inline bool isImmLL(uint64_t Val) { argument 80 return (Val & ~0x000000000000ffffULL) == 0; 83 // Return true if Val fits an LLILH operand. 84 static inline bool isImmLH(uint64_t Val) { argument 85 return (Val & ~0x00000000ffff0000ULL) == 0; 88 // Return true if Val fits an LLIHL operand. 89 static inline bool isImmHL(uint64_t Val) { argument 90 return (Val & ~0x00000ffff00000000ULL) == 0; 93 // Return true if Val fit 94 isImmHH(uint64_t Val) argument 99 isImmLF(uint64_t Val) argument 104 isImmHF(uint64_t Val) argument [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomic.cpp | 27 Value *Val = CXI->getNewValOperand(); local 31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); 42 Value *Val = RMWI->getValOperand(); local 50 Res = Val; 53 Res = Builder.CreateAdd(Orig, Val); 56 Res = Builder.CreateSub(Orig, Val); 59 Res = Builder.CreateAnd(Orig, Val); 62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); 65 Res = Builder.CreateOr(Orig, Val); 68 Res = Builder.CreateXor(Orig, Val); [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsTargetStreamer.h | 22 virtual void emitMipsHackSTOCG(MCSymbol *Sym, unsigned Val) = 0; 32 virtual void emitMipsHackSTOCG(MCSymbol *Sym, unsigned Val); 40 virtual void emitMipsHackSTOCG(MCSymbol *Sym, unsigned Val);
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 37 llvm::APSInt Val; member in class:__anon3182::PPValue 40 PPValue(unsigned BitWidth) : Val(BitWidth) {} 42 unsigned getBitWidth() const { return Val.getBitWidth(); } 43 bool isUnsigned() const { return Val.isUnsigned(); } 113 Result.Val = II->hasMacroDefinition(); 114 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 118 if (Result.Val != 0 && ValueLive) { 150 if (!MD && Result.Val != 0) 197 Result.Val = II->getTokenID() == tok::kw_true; 198 Result.Val [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/ |
H A D | Value.h | 357 if (Val) removeFromList(); 358 Val = V; 367 static inline bool doit(const Value &Val) { argument 368 return Val.getValueID() >= Value::ConstantFirstVal && 369 Val.getValueID() <= Value::ConstantLastVal; 374 static inline bool doit (const Value &Val) { argument 375 return Val.getValueID() == Value::ArgumentVal; 380 static inline bool doit(const Value &Val) { argument 381 return Val.getValueID() == Value::InlineAsmVal; 386 static inline bool doit(const Value &Val) { argument 392 doit(const Value &Val) argument 398 doit(const Value &Val) argument 404 doit(const Value &Val) argument 410 doit(const Value &Val) argument 416 doit(const Value &Val) argument 423 doit(const Value &Val) argument [all...] |
H A D | Use.h | 75 if (Val) removeFromList(); 84 Use(PrevPtrTag tag) : Val(0) { 90 operator Value*() const { return Val; } 94 Value *get() const { return Val; } 100 inline void set(Value *Val); 107 set(RHS.Val); 111 Value *operator->() { return Val; } 112 const Value *operator->() const { return Val; } 128 Value *Val; member in class:llvm::Use 154 static SimpleType getSimplifiedValue(Use &Val) { argument 160 getSimplifiedValue(const Use &Val) argument [all...] |
H A D | GlobalVariable.h | 156 void setConstant(bool Val) { isConstantGlobal = Val; } argument 160 void setThreadLocal(bool Val) { argument 161 threadLocalMode = Val ? GeneralDynamicTLSModel : NotThreadLocal; 163 void setThreadLocalMode(ThreadLocalMode Val) { threadLocalMode = Val; } argument 171 void setExternallyInitialized(bool Val) { argument 172 isExternallyInitializedConstant = Val;
|
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsTargetStreamer.cpp | 40 void MipsTargetAsmStreamer::emitMipsHackSTOCG(MCSymbol *Sym, unsigned Val) { argument 47 OS << Val; local 61 void MipsTargetELFStreamer::emitMipsHackSTOCG(MCSymbol *Sym, unsigned Val) { argument 66 MCELF::setOther(Data, Val >> 2);
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Serialization/ |
H A D | ContinuousRangeMap.h | 64 void insert(const value_type &Val) { argument 65 if (!Rep.empty() && Rep.back() == Val) 68 assert((Rep.empty() || Rep.back().first < Val.first) && 70 Rep.push_back(Val); 73 void insertOrReplace(const value_type &Val) { argument 74 iterator I = std::lower_bound(Rep.begin(), Rep.end(), Val, Compare()); 75 if (I != Rep.end() && I->first == Val.first) { 76 I->second = Val.second; 80 Rep.insert(I, Val); 122 void insert(const value_type &Val) { argument [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ConstraintManager.h | 31 Optional<bool> Val; member in class:clang::ento::ConditionTruthVal 35 ConditionTruthVal(bool constraint) : Val(constraint) {} 42 return Val.hasValue() && Val.getValue(); 47 return Val.hasValue() && !Val.getValue(); 52 return Val.hasValue(); 58 return !Val.hasValue();
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 48 static unsigned getHashValue(clang::QualType Val) { argument 49 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 50 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9)); 68 static unsigned getHashValue(clang::CanQualType Val) { argument 69 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 70 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9));
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | TemplateBase.cpp | 39 const llvm::APSInt &Val = TemplArg.getAsIntegral(); local 42 Out << (Val.getBoolValue() ? "true" : "false"); 44 const char Ch = Val.getZExtValue(); 49 Out << Val; local
|
/freebsd-9.3-release/contrib/llvm/lib/IR/ |
H A D | Use.cpp | 24 Value *V1(Val); 25 Value *V2(RHS.Val); 33 Val = V2; 36 Val = 0; 40 RHS.Val = V1; 43 RHS.Val = 0;
|
/freebsd-9.3-release/contrib/llvm/lib/Analysis/ |
H A D | LazyValueInfo.cpp | 78 /// Val: This stores the current lattice value along with the Constant* for 81 Constant *Val; member in class:__anon2068::LVILatticeVal 85 LVILatticeVal() : Tag(undefined), Val(0), Range(1, true) {} 113 return Val; 118 return Val; 147 Val = V; 165 Val = V; 197 Val = RHS.Val; 204 if (Val 277 operator <<(raw_ostream &OS, const LVILatticeVal &Val) argument 347 Value *Val; member in struct:__anon2070::LazyValueInfoCache::OverDefinedCacheUpdater 467 hasBlockValue(Value *Val, BasicBlock *BB) argument 479 getBlockValue(Value *Val, BasicBlock *BB) argument 488 solveBlockValue(Value *Val, BasicBlock *BB) argument 584 solveBlockValueNonLocal(LVILatticeVal &BBLV, Value *Val, BasicBlock *BB) argument 779 getEdgeValueLocal(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument 870 getEdgeValue(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 174 } Val; member in struct:llvm::MachineOperand::__anon1884::__anon1886 358 void setIsUse(bool Val = true) { setIsDef(!Val); } 360 void setIsDef(bool Val = true); 362 void setImplicit(bool Val = true) { 364 IsImp = Val; 367 void setIsKill(bool Val = true) { 369 assert((!Val || !isDebug()) && "Marking a debug operation as kill"); 370 IsKill = Val; 373 void setIsDead(bool Val [all...] |