/external/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 69 uint32_t Val = Seed + 0x000b07a1; local 70 Seed = (Val * 0x3c7c0ac1); 77 uint32_t Val = Rand(); local 78 Val &= 0xffff; 79 return Val | (Rand() << 16); 84 uint64_t Val = Rand32(); local 85 return Val | (uint64_t(Rand32()) << 32); 306 Value *Val = getRandomValue(Tp->getContainedType(0)); variable 307 Type *ValTy = Val->getType(); 314 new StoreInst(Val, Pt [all...] |
/external/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 198 llvm::APSInt Val; local 204 !Alignment->isIntegerConstantExpr(Val, Context) || 205 !(Val == 0 || Val.isPowerOf2()) || 206 Val.getZExtValue() > 16) { 211 AlignmentVal = (unsigned) Val.getZExtValue();
|
/external/llvm/lib/Analysis/ |
H A D | StratifiedSets.h | 644 Optional<const StratifiedInfo *> get(const T &Val) const { 645 auto Result = Values.find(Val); 651 Optional<StratifiedInfo *> get(const T &Val) { 652 auto Result = Values.find(Val); 658 Optional<StratifiedIndex> indexOf(const T &Val) { 659 auto MaybeVal = get(Val);
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.h | 199 bool ParseUInt32(unsigned &Val); 200 bool ParseUInt32(unsigned &Val, LocTy &Loc) { argument 202 return ParseUInt32(Val); 204 bool ParseUInt64(uint64_t &Val); 205 bool ParseUInt64(uint64_t &Val, LocTy &Loc) { argument 207 return ParseUInt64(Val);
|
/external/llvm/lib/CodeGen/ |
H A D | SjLjEHPrepare.cpp | 161 Value *Val = UseWorkList.pop_back_val(); local 162 ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(Val); 416 Value *Val = Builder.CreateCall(FrameAddrFn, Builder.getInt32(0), "fp"); local 417 Builder.CreateStore(Val, FramePtr, /*isVolatile=*/true); 423 Val = Builder.CreateCall(StackAddrFn, "sp"); 424 Builder.CreateStore(Val, StackPtr, /*isVolatile=*/true);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 85 static unsigned getHashValue(SimpleValue Val); 90 unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) { argument 91 Instruction *Inst = Val.Inst; 232 static unsigned getHashValue(CallValue Val); 237 unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) { argument 238 Instruction *Inst = Val.Inst;
|
/external/llvm/unittests/ADT/ |
H A D | MapVectorTest.cpp | 117 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); 226 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; }); 335 MV.remove_if([](const std::pair<int, int> &Val) { return Val.second % 2; });
|
/external/clang/include/clang/Lex/ |
H A D | Lexer.h | 172 void SetKeepWhitespaceMode(bool Val) { argument 173 assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) && 175 ExtendedTokenMode = Val ? 2 : 0;
|
/external/clang/lib/Rewrite/ |
H A D | DeltaTree.cpp | 417 const SourceDelta &Val = Node->getValue(NumValsGreater); local 419 if (Val.FileLoc >= FileIndex) 421 Result += Val.Delta;
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
H A D | toy.cpp | 93 double Val; member in class:__anon10095::NumberExprAST 95 NumberExprAST(double val) : Val(val) {} 357 return ConstantFP::get(getGlobalContext(), APFloat(Val));
|
/external/llvm/include/llvm/ExecutionEngine/ |
H A D | ExecutionEngine.h | 126 void setDataLayout(const DataLayout *Val) { DL = Val; } argument 364 /// StoreValueToMemory - Stores the data in Val of type Ty at address Ptr. 365 /// Ptr is the address of the memory at which to store Val, cast to 367 /// address at which to store Val. 368 void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr,
|
/external/llvm/include/llvm/IR/ |
H A D | IntrinsicInst.h | 228 void setValue(Value *Val) { argument 229 assert(getValue()->getType() == Val->getType() && 231 setArgOperand(1, Val);
|
H A D | ConstantRange.h | 118 bool contains(const APInt &Val) const;
|
/external/llvm/lib/Fuzzer/ |
H A D | FuzzerDriver.cpp | 94 int Val = std::stol(Str); local 95 *FlagDescriptions[F].IntFlag = Val; 97 std::cerr << "Flag: " << Name << " " << Val << "\n"; local
|
/external/llvm/lib/Support/ |
H A D | Timer.cpp | 166 static void printVal(double Val, double Total, raw_ostream &OS) { argument 170 OS << format(" %7.4f (%5.1f%%)", Val, Val*100/Total);
|
/external/llvm/unittests/Support/ |
H A D | Casting.cpp | 44 static inline bool doit(const bar &Val) { argument 45 dbgs() << "Classof: " << &Val << "\n"; 71 static SimpleType getSimplifiedValue(foo &Val) { return 0; } argument
|
/external/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 159 static void printInt(raw_ostream &OS, int Val) { argument 160 OS << Val; local 578 uint16_t Val = uint16_t(InitVal); local 581 V.push_back(Cur - Val); 582 Val = Cur; 591 uint16_t Val = uint16_t(InitVal); local 594 V.push_back(Cur - Val); 595 Val = Cur; 600 static void printDiff16(raw_ostream &OS, uint16_t Val) { argument 601 OS << Val; local 604 printMask(raw_ostream &OS, unsigned Val) argument [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SubEngine.h | 139 processPointerEscapedOnBind(ProgramStateRef State, SVal Loc, SVal Val) = 0;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckerDocumentation.cpp | 134 /// \param Val The value which will be stored at the location Loc. 138 void checkBind(SVal Loc, SVal Val, const Stmt *S, CheckerContext &) const {} argument
|
H A D | DeadStoresChecker.cpp | 208 void CheckVarDecl(const VarDecl *VD, const Expr *Ex, const Expr *Val, argument 225 Report(VD, dsk, ExLoc, Val->getSourceRange()); 229 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, argument 232 CheckVarDecl(VD, DR, Val, dsk, Live);
|
/external/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 51 void setIsUnsigned(bool Val) { IsUnsigned = Val; } argument 52 void setIsSigned(bool Val) { IsUnsigned = !Val; } argument
|
/external/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 611 static unsigned getHashValue(const AliasAnalysis::Location &Val) { argument 612 return DenseMapInfo<const Value *>::getHashValue(Val.Ptr) ^ 613 DenseMapInfo<uint64_t>::getHashValue(Val.Size) ^ 614 DenseMapInfo<AAMDNodes>::getHashValue(Val.AATags);
|
/external/llvm/include/llvm/CodeGen/ |
H A D | ScheduleDFS.h | 190 raw_ostream &operator<<(raw_ostream &OS, const ILPValue &Val);
|
/external/llvm/include/llvm/Support/ |
H A D | GCOV.h | 181 bool readInt(uint32_t &Val) { argument 188 Val = *(const uint32_t *)(Str.data()); 192 bool readInt64(uint64_t &Val) { argument 196 Val = ((uint64_t)Hi << 32) | Lo;
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | BuildLibCalls.h | 68 /// a pointer, Val is an i32 value, and Len is an 'intptr_t' value. 69 Value *EmitMemChr(Value *Ptr, Value *Val, Value *Len, IRBuilder<> &B,
|