/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/llvm/unittests/ADT/ |
H A D | DenseMapTest.cpp | 63 static unsigned getHashValue(const CtorTester &Val) { 64 return Val.getValue() * 37u; 297 static unsigned getHashValue(const unsigned& Val) { return Val * 37U; } argument 298 static unsigned getHashValue(const char* Val) { argument 299 return (unsigned)(Val[0] - 'a') * 37U;
|
/external/llvm/utils/obj2yaml/ |
H A D | coff2yaml.cpp | 222 const pod_pair<T, const char *> (&Arr)[N], unsigned long Val) { 224 if (Val & Arr[i].first) 234 unsigned long Val, const char *NotFound = NULL) { variable 235 T n = static_cast<T>(Val); 221 writeBitMask(llvm::raw_ostream &Out, const pod_pair<T, const char *> (&Arr)[N], unsigned long Val) argument
|
/external/llvm/utils/yaml-bench/ |
H A D | YAMLBench.cpp | 78 StringRef Val = sn->getValue(Storage); local 79 outs() << "!!str \"" << yaml::escape(Val) << "\"";
|
/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/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 229 static SimpleType getSimplifiedValue(const IntrusiveRefCntPtr<T>& Val) { argument 230 return Val.getPtr(); 236 static SimpleType getSimplifiedValue(const IntrusiveRefCntPtr<T>& Val) { argument 237 return Val.getPtr();
|
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 | SparseSet.h | 54 static unsigned getValIndex(const ValueT &Val) { argument 55 return Val.getSparseSetIndex(); 65 unsigned operator()(const ValueT &Val) const { 66 return SparseSetValTraits<ValueT>::getValIndex(Val); 238 /// If Val is successfully inserted, return (I, true), where I is an iterator 241 /// If the set already contains an element with the same key as Val, return 246 std::pair<iterator, bool> insert(const ValueT &Val) { 247 unsigned Idx = ValIndexOf(Val); 252 Dense.push_back(Val);
|
H A D | Statistic.h | 54 const Statistic &operator=(unsigned Val) { argument 55 Value = Val;
|
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 | APSInt.h | 57 void setIsUnsigned(bool Val) { IsUnsigned = Val; } argument 58 void setIsSigned(bool Val) { IsUnsigned = !Val; } argument
|
H A D | ScopedHashTable.h | 48 V Val; member in class:llvm::ScopedHashTableVal 49 ScopedHashTableVal(const K &key, const V &val) : Key(key), Val(val) {} 53 const V &getValue() const { return Val; } 54 V &getValue() { return Val; } 107 void setLastValInScope(ScopedHashTableVal<K, V> *Val) { argument 108 LastValInScope = Val; 187 void insert(const K &Key, const V &Val) { argument 188 insertIntoScope(CurScope, Key, Val); 209 void insertIntoScope(ScopeTy *S, const K &Key, const V &Val) { argument 212 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineConstantPool.h | 81 } Val; member in class:llvm::MachineConstantPoolEntry 83 /// The required alignment for this entry. The top bit is set when Val is 89 Val.ConstVal = V; 93 Val.MachineCPVal = V;
|
/external/llvm/include/llvm/ |
H A D | GlobalVariable.h | 146 void setConstant(bool Val) { isConstantGlobal = Val; } argument 150 void setThreadLocal(bool Val) { argument 151 threadLocalMode = Val ? GeneralDynamicTLSModel : NotThreadLocal; 153 void setThreadLocalMode(ThreadLocalMode Val) { threadLocalMode = Val; } argument
|
/external/llvm/include/llvm/Support/ |
H A D | Format.h | 81 T Val; member in class:llvm::format_object1 84 : format_object_base(fmt), Val(val) { 88 return snprintf(Buffer, BufferSize, Fmt, Val); 176 inline format_object1<T> format(const char *Fmt, const T &Val) { argument 177 return format_object1<T>(Fmt, Val);
|
/external/llvm/lib/Analysis/ |
H A D | AliasAnalysisCounter.cpp | 43 void printLine(const char *Desc, unsigned Val, unsigned Sum) { argument 44 errs() << " " << Val << " " << Desc << " responses (" 45 << Val*100/Sum << "%)\n";
|
/external/llvm/lib/Target/MBlaze/MCTargetDesc/ |
H A D | MBlazeMCCodeEmitter.cpp | 76 void EmitConstant(uint64_t Val, unsigned Size, unsigned &CurByte, argument 81 EmitByte(Val & 255, CurByte, OS); 82 Val >>= 8;
|
/external/llvm/lib/VMCore/ |
H A D | IRBuilder.cpp | 64 CreateMemSet(Value *Ptr, Value *Val, Value *Size, unsigned Align, argument 67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) };
|
/external/llvm/unittests/Support/ |
H A D | Casting.cpp | 40 static inline bool doit(const bar &Val) { argument 41 dbgs() << "Classof: " << &Val << "\n";
|
/external/clang/include/clang/Lex/ |
H A D | Lexer.h | 178 void SetKeepWhitespaceMode(bool Val) { argument 179 assert((!Val || LexingRawMode) && 181 ExtendedTokenMode = Val ? 2 : 0;
|
H A D | MacroInfo.h | 176 void setIsBuiltinMacro(bool Val = true) { 177 IsBuiltinMacro = Val; 182 void setIsUsed(bool Val) { argument 183 IsUsed = Val; 188 void setIsAllowRedefinitionsWithoutWarning(bool Val) { argument 189 IsAllowRedefinitionsWithoutWarning = Val;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CheckerContext.h | 247 bool Val; member in struct:clang::ento::DefaultBool 248 DefaultBool() : Val(false) {} 249 operator bool() const { return Val; } 250 DefaultBool &operator=(bool b) { Val = b; return *this; }
|
/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/lib/StaticAnalyzer/Checkers/ |
H A D | CheckerDocumentation.cpp | 131 /// \param Val The value which will be stored at the location Loc. 135 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {} argument
|
/external/clang/test/CodeGenCXX/ |
H A D | temp-order.cpp | 6 unsigned Val = 1; local 8 Val *= Base; 9 return Val;
|