/external/clang/test/Sema/ |
H A D | arm-asm.c | 4 int Val; local 5 asm volatile ("lw (r1), %0[val]": "=&b"(Val)); // expected-error {{invalid output constraint '=&b' in asm}}
|
/external/clang/test/CodeGen/ |
H A D | 2002-03-14-BrokenPHINode.c | 11 double Val; local 17 return asa+(int)Val;
|
/external/clang/test/CodeGenCXX/ |
H A D | 2010-03-09-AnonAggregate.cpp | 8 union { struct { union { int BA; } Val; int Offset; } OffsetedInfo; } Contents; member in struct:MO::__anon4323::__anon4324
|
/external/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; 99 Val.setPointer( 101 Val.setInt(0); 104 Val.setPointer( 106 Val.setInt(1); 114 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer()); 126 return static_cast<int>(Val.getInt()) == TyNo; 134 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer()); 154 assert(is<PT1>() && "Val is not the first pointer"); 155 assert(get<PT1>() == Val 214 ValTy Val; member in class:llvm::PointerUnion3 217 ValTy Val; member in struct:llvm::PointerUnion3::IsInnerUnion 231 ValTy Val; member in struct:llvm::PointerUnion3::IsPT3 347 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 \arg Val as an unsigned decimal integer. 307 explicit Twine(unsigned Val) argument 309 LHS.decUI = Val; 312 /// Construct a twine to print \arg 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...] |
/external/llvm/include/llvm/Support/ |
H A D | Casting.h | 34 static SimpleType &getSimplifiedValue(From &Val) { return Val; } argument 39 static SimpleType &getSimplifiedValue(const From &Val) { argument 40 return simplify_type<From>::getSimplifiedValue(static_cast<From&>(Val)); 49 static inline bool doit(const From &Val) { argument 50 return To::classof(&Val); 55 static inline bool doit(const From &Val) { argument 56 return isa_impl<To, From>::doit(Val); 61 static inline bool doit(const From &Val) { argument 62 return isa_impl<To, From>::doit(Val); 67 doit(const From *Val) argument 73 doit(const From *Val) argument 79 doit(const From *Val) argument 88 doit(const From &Val) argument 98 doit(const FromTy &Val) argument 109 isa(const Y &Val) argument 167 doit(const From &Val) argument 176 doit(const FromTy &Val) argument 193 cast(const Y &Val) argument 203 cast_or_null(Y *Val) argument 219 dyn_cast(const Y &Val) argument 227 dyn_cast_or_null(Y *Val) argument [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ConstraintManager.h | 30 llvm::Optional<bool> Val; member in class:clang::ento::ConditionTruthVal 34 ConditionTruthVal(bool constraint) : Val(constraint) {} 41 return Val.hasValue() && Val.getValue(); 46 return Val.hasValue() && !Val.getValue(); 51 return Val.hasValue(); 57 return !Val.hasValue();
|
/external/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...] |
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 36 llvm::APSInt Val; member in class:__anon127::PPValue 39 PPValue(unsigned BitWidth) : Val(BitWidth) {} 41 unsigned getBitWidth() const { return Val.getBitWidth(); } 42 bool isUnsigned() const { return Val.isUnsigned(); } 111 Result.Val = II->hasMacroDefinition(); 112 Result.Val.setIsUnsigned(false); // Result is signed intmax_t. 115 if (Result.Val != 0 && ValueLive) { 183 Result.Val = II->getTokenID() == tok::kw_true; 184 Result.Val.setIsUnsigned(false); // "0" is signed intmax_t 0. 228 if (Literal.GetIntegerValue(Result.Val)) { [all...] |
/external/llvm/include/llvm/MC/ |
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;
|
/external/llvm/include/llvm/ |
H A D | Value.h | 330 if (Val) removeFromList(); 331 Val = V; 340 static inline bool doit(const Value &Val) { argument 341 return Val.getValueID() >= Value::ConstantFirstVal && 342 Val.getValueID() <= Value::ConstantLastVal; 347 static inline bool doit (const Value &Val) { argument 348 return Val.getValueID() == Value::ArgumentVal; 353 static inline bool doit(const Value &Val) { argument 354 return Val.getValueID() == Value::InlineAsmVal; 359 static inline bool doit(const Value &Val) { argument 365 doit(const Value &Val) argument 371 doit(const Value &Val) argument 377 doit(const Value &Val) argument 383 doit(const Value &Val) argument 389 doit(const Value &Val) argument 396 doit(const Value &Val) argument [all...] |
H A D | Use.h | 73 if (Val) removeFromList(); 82 Use(PrevPtrTag tag) : Val(0) { 88 operator Value*() const { return Val; } 92 Value *get() const { return Val; } 98 inline void set(Value *Val); 105 set(RHS.Val); 109 Value *operator->() { return Val; } 110 const Value *operator->() const { return Val; } 126 Value *Val; member in class:llvm::Use 152 static SimpleType getSimplifiedValue(const Use &Val) { argument 158 getSimplifiedValue(const Use &Val) argument [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ContinuousRangeMap.h | 63 void insert(const value_type &Val) { argument 64 if (!Rep.empty() && Rep.back() == Val) 67 assert((Rep.empty() || Rep.back().first < Val.first) && 69 Rep.push_back(Val); 72 void insertOrReplace(const value_type &Val) { argument 73 iterator I = std::lower_bound(Rep.begin(), Rep.end(), Val, Compare()); 74 if (I != Rep.end() && I->first == Val.first) { 75 I->second = Val.second; 79 Rep.insert(I, Val); 121 void insert(const value_type &Val) { argument [all...] |
/external/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));
|
/external/clang/test/SemaTemplate/ |
H A D | template-id-expr.cpp | 6 static void isa(const FromCl &Val) { } argument 10 void isa(const Y &Val) { return isa_impl_cl<Y>::template isa<X>(Val); } argument 13 void f0(const Value &Val) { isa<Value>(Val); } argument
|
/external/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
|
/external/clang/test/CXX/expr/expr.const/ |
H A D | p3-0x.cpp | 77 template<typename T, T v> struct Val { static constexpr T value = v; }; struct in class:EE::EEE 78 static_assert(Val<bool, E1>::value == 1, ""); // ok 79 static_assert(Val<bool, '\0'>::value == 0, ""); // ok 80 static_assert(Val<bool, U'\1'>::value == 1, ""); // ok 81 static_assert(Val<bool, E5>::value == 1, ""); // expected-error {{5, which cannot be narrowed to type 'bool'}} 100 int n = Val<bool, &S::operator int>::value; // expected-error {{conversion from 'int (S::*)() const' to 'bool' is not allowed in a converted constant expression}}
|
/external/llvm/lib/VMCore/ |
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;
|
/external/clang/test/SemaCXX/ |
H A D | cast-conversion.cpp | 29 X0<T> make_X0(const T &Val) { argument 30 return X0<T>(Val);
|
/external/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:__anon8602::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:__anon8604::LazyValueInfoCache::OverDefinedCacheUpdater 467 hasBlockValue(Value *Val, BasicBlock *BB) argument 479 getBlockValue(Value *Val, BasicBlock *BB) argument 488 solveBlockValue(Value *Val, BasicBlock *BB) argument 586 solveBlockValueNonLocal(LVILatticeVal &BBLV, Value *Val, BasicBlock *BB) argument 775 getEdgeValueLocal(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument 866 getEdgeValue(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 173 } Val; member in struct:llvm::MachineOperand::__anon8446::__anon8448 355 void setIsUse(bool Val = true) { setIsDef(!Val); } 357 void setIsDef(bool Val = true); 359 void setImplicit(bool Val = true) { 361 IsImp = Val; 364 void setIsKill(bool Val = true) { 366 assert((!Val || !isDebug()) && "Marking a debug operation as kill"); 367 IsKill = Val; 370 void setIsDead(bool Val [all...] |