/freebsd-10.0-release/contrib/llvm/lib/Target/SystemZ/ |
H A D | SystemZ.h | 43 // Return true if Val fits an LLILL operand. 44 static inline bool isImmLL(uint64_t Val) { argument 45 return (Val & ~0x000000000000ffffULL) == 0; 48 // Return true if Val fits an LLILH operand. 49 static inline bool isImmLH(uint64_t Val) { argument 50 return (Val & ~0x00000000ffff0000ULL) == 0; 53 // Return true if Val fits an LLIHL operand. 54 static inline bool isImmHL(uint64_t Val) { argument 55 return (Val & ~0x00000ffff00000000ULL) == 0; 58 // Return true if Val fit 59 isImmHH(uint64_t Val) argument 64 isImmLF(uint64_t Val) argument 69 isImmHF(uint64_t Val) argument [all...] |
/freebsd-10.0-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 | 84 ValTy Val; 98 PointerUnion(PT1 V) : Val( 101 PointerUnion(PT2 V) : Val( 110 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer()); 122 return static_cast<int>(Val.getInt()) == TyNo; 130 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer()); 150 assert(is<PT1>() && "Val is not the first pointer"); 151 assert(get<PT1>() == Val.getPointer() && 153 return (PT1 *)Val.getAddrOfPointer(); 159 Val 209 ValTy Val; member in class:llvm::PointerUnion3 212 ValTy Val; member in struct:llvm::PointerUnion3::IsInnerUnion 226 ValTy Val; member in struct:llvm::PointerUnion3::IsPT3 342 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-10.0-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-10.0-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 219 cast(const Y &Val) argument 226 cast(Y &Val) argument 236 cast(Y *Val) argument 246 cast_or_null(Y *Val) argument 262 dyn_cast(const Y &Val) argument 267 dyn_cast(Y &Val) argument 275 dyn_cast(Y *Val) argument 283 dyn_cast_or_null(Y *Val) argument [all...] |
/freebsd-10.0-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-10.0-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 37 llvm::APSInt Val; member in class:__anon3142::PPValue 40 PPValue(unsigned BitWidth) : Val(BitWidth) {} 42 unsigned getBitWidth() const { return Val.getBitWidth(); } 43 bool isUnsigned() const { return Val.isUnsigned(); } 112 Result.Val = II->hasMacroDefinition(); 113 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 117 if (Result.Val != 0 && ValueLive) { 126 if (!MD && Result.Val != 0) 192 Result.Val = II->getTokenID() == tok::kw_true; 193 Result.Val [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/ |
H A D | Value.h | 338 if (Val) removeFromList(); 339 Val = V; 348 static inline bool doit(const Value &Val) { argument 349 return Val.getValueID() >= Value::ConstantFirstVal && 350 Val.getValueID() <= Value::ConstantLastVal; 355 static inline bool doit (const Value &Val) { argument 356 return Val.getValueID() == Value::ArgumentVal; 361 static inline bool doit(const Value &Val) { argument 362 return Val.getValueID() == Value::InlineAsmVal; 367 static inline bool doit(const Value &Val) { argument 373 doit(const Value &Val) argument 379 doit(const Value &Val) argument 385 doit(const Value &Val) argument 391 doit(const Value &Val) argument 397 doit(const Value &Val) argument 404 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 | 158 void setConstant(bool Val) { isConstantGlobal = Val; } argument 162 void setThreadLocal(bool Val) { argument 163 threadLocalMode = Val ? GeneralDynamicTLSModel : NotThreadLocal; 165 void setThreadLocalMode(ThreadLocalMode Val) { threadLocalMode = Val; } argument 173 void setExternallyInitialized(bool Val) { argument 174 isExternallyInitializedConstant = Val;
|
/freebsd-10.0-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-10.0-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-10.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 46 static unsigned getHashValue(clang::QualType Val) { argument 47 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 48 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9)); 66 static unsigned getHashValue(clang::CanQualType Val) { argument 67 return (unsigned)((uintptr_t)Val.getAsOpaquePtr()) ^ 68 ((unsigned)((uintptr_t)Val.getAsOpaquePtr() >> 9));
|
/freebsd-10.0-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-10.0-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-10.0-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:__anon2092::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:__anon2094::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-10.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 174 } Val; member in struct:llvm::MachineOperand::__anon1920::__anon1922 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...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Frontend/ |
H A D | CommandLineSourceLoc.h | 66 clang::ParsedSourceLocation &Val); 72 clang::ParsedSourceLocation &Val) { 75 Val = ParsedSourceLocation::FromString(ArgValue); 76 if (Val.FileName.empty()) { 71 parse(Option &O, StringRef ArgName, StringRef ArgValue, clang::ParsedSourceLocation &Val) argument
|
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinterDwarf.cpp | 53 void AsmPrinter::EmitCFAByte(unsigned Val) const { 55 if (Val >= dwarf::DW_CFA_offset && Val < dwarf::DW_CFA_offset+64) 57 Twine(Val-dwarf::DW_CFA_offset) + ")"); 59 OutStreamer.AddComment(dwarf::CallFrameString(Val)); 61 OutStreamer.EmitIntValue(Val, 1); 95 void AsmPrinter::EmitEncodingByte(unsigned Val, const char *Desc) const { argument 99 Twine(DecodeDWARFEncoding(Val))); 102 DecodeDWARFEncoding(Val)); 105 OutStreamer.EmitIntValue(Val, [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/Bitcode/ |
H A D | BitCodes.h | 87 uint64_t Val; // A literal value or data for an encoding. member in class:llvm::BitCodeAbbrevOp 92 Fixed = 1, // A fixed width field, Val specifies number of bits. 93 VBR = 2, // A VBR field where Val specifies the width of each chunk. 99 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {} 101 : Val(Data), IsLiteral(false), Enc(E) {} 107 uint64_t getLiteralValue() const { assert(isLiteral()); return Val; } 113 return Val;
|