Searched defs:Val (Results 26 - 50 of 260) sorted by relevance

1234567891011

/external/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp27 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 DDenseMapTest.cpp63 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 Dcoff2yaml.cpp222 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 DYAMLBench.cpp78 StringRef Val = sn->getValue(Storage); local
79 outs() << "!!str \"" << yaml::escape(Val) << "\"";
/external/clang/include/clang/Serialization/
H A DContinuousRangeMap.h63 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 DIntrusiveRefCntPtr.h229 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 DPointerUnion.h84 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 DSparseSet.h54 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 DStatistic.h54 const Statistic &operator=(unsigned Val) { argument
55 Value = Val;
H A DTinyPtrVector.h33 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 DAPSInt.h57 void setIsUnsigned(bool Val) { IsUnsigned = Val; } argument
58 void setIsSigned(bool Val) { IsUnsigned = !Val; } argument
H A DScopedHashTable.h48 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 DMachineConstantPool.h81 } 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 DGlobalVariable.h146 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 DFormat.h81 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 DAliasAnalysisCounter.cpp43 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 DMBlazeMCCodeEmitter.cpp76 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 DIRBuilder.cpp64 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 DCasting.cpp40 static inline bool doit(const bar &Val) { argument
41 dbgs() << "Classof: " << &Val << "\n";
/external/clang/include/clang/Lex/
H A DLexer.h178 void SetKeepWhitespaceMode(bool Val) { argument
179 assert((!Val || LexingRawMode) &&
181 ExtendedTokenMode = Val ? 2 : 0;
H A DMacroInfo.h176 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 DCheckerContext.h247 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 DTemplateBase.cpp39 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 DCheckerDocumentation.cpp131 /// \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 Dtemp-order.cpp6 unsigned Val = 1; local
8 Val *= Base;
9 return Val;

Completed in 488 milliseconds

1234567891011