/external/clang/test/CodeGen/ |
H A D | 2002-03-14-BrokenPHINode.c | 11 double Val; local 17 return asa+(int)Val;
|
/external/llvm/include/llvm/ADT/ |
H A D | TinyPtrVector.h | 28 llvm::PointerUnion<EltTy, VecTy*> Val; member in class:llvm::TinyPtrVector 31 TinyPtrVector(const TinyPtrVector &RHS) : Val(RHS.Val) { 32 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 33 Val = new VecTy(*V); 36 if (VecTy *V = Val.template dyn_cast<VecTy*>()) 43 if (Val.isNull()) return true; 44 if (VecTy *Vec = Val.template dyn_cast<VecTy*>()) 52 if (Val.template is<EltTy>()) 54 return Val [all...] |
H A D | DenseMapInfo.h | 26 //static unsigned getHashValue(const T &Val); 34 intptr_t Val = -1; local 35 Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable; 36 return reinterpret_cast<T*>(Val); 39 intptr_t Val = -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()); 149 assert(is<PT1>() && "Val is not the first pointer"); 150 assert(get<PT1>() == Val [all...] |
H A D | VectorExtras.h | 33 while (T Val = va_arg(Args, T)) 34 Result.push_back(Val);
|
H A D | Twine.h | 288 explicit Twine(char Val) argument 290 LHS.character = Val; 294 explicit Twine(signed char Val) argument 296 LHS.character = static_cast<char>(Val); 300 explicit Twine(unsigned char Val) argument 302 LHS.character = static_cast<char>(Val); 305 /// Construct a twine to print \arg Val as an unsigned decimal integer. 306 explicit Twine(unsigned Val) argument 308 LHS.decUI = Val; 311 /// Construct a twine to print \arg Val a 312 Twine(int Val) argument 318 Twine(const unsigned long &Val) argument 324 Twine(const long &Val) argument 330 Twine(const unsigned long long &Val) argument 336 Twine(const long long &Val) argument 373 utohexstr(const uint64_t &Val) argument [all...] |
/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::__anon3440::__anon3441
|
/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/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/AST/ |
H A D | TemplateBase.cpp | 38 const llvm::APSInt *Val = TemplArg.getAsIntegral(); local 41 Out << (Val->getBoolValue() ? "true" : "false"); 43 const unsigned char Ch = Val->getZExtValue(); 49 Out << Val->toString(10);
|
/external/clang/lib/Lex/ |
H A D | PPExpressions.cpp | 36 llvm::APSInt Val; member in class:__anon2901::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. 224 if (Literal.GetIntegerValue(Result.Val)) { [all...] |
/external/llvm/include/llvm/MC/ |
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;
|
H A D | MCInst.h | 73 void setImm(int64_t Val) { argument 75 ImmVal = Val; 83 void setFPImm(double Val) { argument 85 FPImmVal = Val; 92 void setExpr(const MCExpr *Val) { argument 94 ExprVal = Val; 103 static MCOperand CreateImm(int64_t Val) { argument 106 Op.ImmVal = Val; 109 static MCOperand CreateFPImm(double Val) { argument 112 Op.FPImmVal = Val; 115 CreateExpr(const MCExpr *Val) argument [all...] |
/external/llvm/include/llvm/ |
H A D | Value.h | 323 if (Val) removeFromList(); 324 Val = V; 333 static inline bool doit(const Value &Val) { argument 334 return Val.getValueID() >= Value::ConstantFirstVal && 335 Val.getValueID() <= Value::ConstantLastVal; 340 static inline bool doit (const Value &Val) { argument 341 return Val.getValueID() == Value::ArgumentVal; 346 static inline bool doit(const Value &Val) { argument 347 return Val.getValueID() == Value::InlineAsmVal; 352 static inline bool doit(const Value &Val) { argument 358 doit(const Value &Val) argument 364 doit(const Value &Val) argument 370 doit(const Value &Val) argument 376 doit(const Value &Val) argument 382 doit(const Value &Val) argument 389 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/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/include/clang/Index/ |
H A D | Entity.h | 50 llvm::PointerUnion<Decl *, EntityImpl *> Val; member in class:clang::idx::Entity 53 explicit Entity(EntityImpl *impl) : Val(impl) { } 66 return Val.get<Decl *>(); 82 return Val.is<Decl *>(); 85 bool isValid() const { return !Val.isNull(); } 88 void *getAsOpaquePtr() const { return Val.getOpaqueValue(); } 91 Ent.Val = llvm::PointerUnion<Decl *, EntityImpl *>::getFromOpaqueValue(Ptr); 107 Ent.Val = 113 Ent.Val =
|
H A D | GlobalSelector.h | 29 void *Val; member in class:clang::idx::GlobalSelector 31 explicit GlobalSelector(void *val) : Val(val) { } 34 GlobalSelector() : Val(0) { } 39 bool isValid() const { return Val != 0; } 48 void *getAsOpaquePtr() const { return Val; }
|
/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/llvm/lib/VMCore/ |
H A D | Use.cpp | 23 Value *V1(Val); 24 Value *V2(RHS.Val); 32 Val = V2; 35 Val = 0; 39 RHS.Val = V1; 42 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 | 73 /// Val: This stores the current lattice value along with the Constant* for 76 Constant *Val; member in class:__anon6568::LVILatticeVal 80 LVILatticeVal() : Tag(undefined), Val(0), Range(1, true) {} 108 return Val; 113 return Val; 142 Val = V; 160 Val = V; 192 Val = RHS.Val; 199 if (Val 272 operator <<(raw_ostream &OS, const LVILatticeVal &Val) argument 320 getHashValue(const LVIValueHandle &Val) argument 341 getHashValue( const PairTy &Val) argument 382 Value *Val; member in struct:__anon6570::LazyValueInfoCache::OverDefinedCacheUpdater 493 hasBlockValue(Value *Val, BasicBlock *BB) argument 503 getBlockValue(Value *Val, BasicBlock *BB) argument 511 solveBlockValue(Value *Val, BasicBlock *BB) argument 608 solveBlockValueNonLocal(LVILatticeVal &BBLV, Value *Val, BasicBlock *BB) argument 796 getEdgeValue(Value *Val, BasicBlock *BBFrom, BasicBlock *BBTo, LVILatticeVal &Result) argument [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineOperand.h | 150 } Val; member in struct:llvm::MachineOperand::__anon6433::__anon6435 313 void setIsUse(bool Val = true) { 315 assert((Val || !isDebug()) && "Marking a debug operation as def"); 316 IsDef = !Val; 319 void setIsDef(bool Val = true) { 321 assert((!Val || !isDebug()) && "Marking a debug operation as def"); 322 IsDef = Val; 325 void setImplicit(bool Val = true) { 327 IsImp = Val; 330 void setIsKill(bool Val 471 CreateImm(int64_t Val) argument [all...] |
/external/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
|