| /src/external/apache2/llvm/dist/llvm/lib/Support/Unix/ |
| Unix.h | 91 struct timespec RetVal; 92 RetVal.tv_sec = toTimeT(TP); 93 RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count(); 94 return RetVal; 101 struct timeval RetVal; 102 RetVal.tv_sec = toTimeT(TP); 103 RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count(); 104 return RetVal;
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| ReturnUndefChecker.cpp | 32 DefinedOrUnknownSVal RetVal) const; 43 SVal RetVal = C.getSVal(RetE); 48 if (RetVal.isUndef()) { 75 checkReference(C, RetE, RetVal.castAs<DefinedOrUnknownSVal>()); 104 DefinedOrUnknownSVal RetVal) const { 106 std::tie(StNonNull, StNull) = C.getState()->assume(RetVal);
|
| STLAlgorithmModeling.cpp | 113 SVal RetVal = SVB.conjureSymbolVal(nullptr, CE, LCtx, C.blockCount()); 116 auto StateFound = State->BindExpr(CE, LCtx, RetVal); 124 StateFound = createIteratorPosition(StateFound, RetVal, Pos->getContainer(), 126 const auto *NewPos = getIteratorPosition(StateFound, RetVal); 146 StateFound = createIteratorPosition(StateFound, RetVal, Pos->getContainer(), 148 const auto *NewPos = getIteratorPosition(StateFound, RetVal);
|
| IteratorModeling.cpp | 100 void handleComparison(CheckerContext &C, const Expr *CE, SVal RetVal, 104 SymbolRef Sym1, SymbolRef Sym2, const SVal &RetVal, 106 void handleIncrement(CheckerContext &C, const SVal &RetVal, const SVal &Iter, 108 void handleDecrement(CheckerContext &C, const SVal &RetVal, const SVal &Iter, 111 OverloadedOperatorKind Op, const SVal &RetVal, 115 void handleAdvance(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Iter, 117 void handlePrev(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Iter, 119 void handleNext(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Iter, 121 void assignToContainer(CheckerContext &C, const Expr *CE, const SVal &RetVal, 450 SVal RetVal, const SVal &LVal [all...] |
| PaddingChecker.cpp | 248 FieldInfo RetVal; 249 RetVal.Field = FD; 252 RetVal.Size = Info.Width; 253 RetVal.Align = Info.Align; 254 assert(llvm::isPowerOf2_64(RetVal.Align.getQuantity())); 256 RetVal.Align = std::max(Ctx.toCharUnitsFromBits(Max), RetVal.Align); 257 return RetVal;
|
| StreamChecker.cpp | 182 DefinedSVal RetVal = makeRetVal(C, CE); 183 State = State->BindExpr(CE, C.getLocationContext(), RetVal); 184 State = State->assume(RetVal, true); 449 DefinedSVal RetVal = makeRetVal(C, CE); 450 SymbolRef RetSym = RetVal.getAsSymbol(); 451 assert(RetSym && "RetVal must be a symbol here."); 453 State = State->BindExpr(CE, C.getLocationContext(), RetVal); 459 C.getConstraintManager().assumeDual(State, RetVal); 642 Optional<NonLoc> RetVal = makeRetVal(C, CE).castAs<NonLoc>(); 643 assert(RetVal && "Value should be NonLoc.") [all...] |
| MallocChecker.cpp | 211 /// The optional \p RetVal parameter specifies the newly allocated pointer 216 Optional<SVal> RetVal = None); 453 /// \param [in] RetVal Specifies the newly allocated pointer value; 459 Optional<SVal> RetVal = None); 1297 Optional<SVal> RetVal) { 1301 if (!RetVal) 1302 RetVal = Call.getReturnValue(); 1336 SymbolRef Sym = RetVal->getAsLocSymbol(); 1533 DefinedSVal RetVal = svalBuilder.getConjuredHeapSymbolVal(CE, LCtx, Count) 1535 State = State->BindExpr(CE, C.getLocationContext(), RetVal); [all...] |
| ContainerModeling.cpp | 35 void handleBegin(CheckerContext &C, const Expr *CE, SVal RetVal, 37 void handleEnd(CheckerContext &C, const Expr *CE, SVal RetVal, 260 SVal RetVal, SVal Cont) const { 276 State = setIteratorPosition(State, RetVal, 282 SVal RetVal, SVal Cont) const { 298 State = setIteratorPosition(State, RetVal,
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/ |
| WholeProgramDevirt.h | 135 uint64_t RetVal; 168 // Set the bit at position Pos before the address point to RetVal. 171 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); 174 // Set the bit at position Pos after the address point to RetVal. 177 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); 180 // Set the bytes at position Pos before the address point to RetVal. 186 TM->Bits->Before.setLE(Pos - 8 * minBeforeBytes(), RetVal, Size); 188 TM->Bits->Before.setBE(Pos - 8 * minBeforeBytes(), RetVal, Size); 191 // Set the bytes at position Pos after the address point to RetVal. 195 TM->Bits->After.setBE(Pos - 8 * minAfterBytes(), RetVal, Size) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| HexagonHazardRecognizer.cpp | 46 HazardType RetVal = Hazard; 60 RetVal = NoHazard; 61 LLVM_DEBUG(dbgs() << "*** Try .new version? " << (RetVal == NoHazard) 65 return RetVal;
|
| /src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
| InstrProfilingFile.c | 54 int RetVal; 64 RetVal = writeFile(OutputFile); 67 return RetVal;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| Evaluator.h | 57 bool EvaluateFunction(Function *F, Constant *&RetVal,
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| CFLSteensAliasAnalysis.cpp | 164 for (auto *RetVal : RetVals) { 165 assert(RetVal != nullptr); 166 assert(RetVal->getType()->isPointerTy()); 167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0});
|
| CFLGraph.h | 264 if (auto RetVal = Inst.getReturnValue()) { 265 if (RetVal->getType()->isPointerTy()) { 266 addNode(RetVal); 267 ReturnValues.push_back(RetVal);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| AMDGPUUnifyDivergentExitNodes.cpp | 263 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); 294 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); 355 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); 369 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock);
|
| AMDGPURewriteOutArguments.cpp | 375 Value *RetVal = RI->getReturnValue(); 376 if (RetVal) 377 NewRetVal = B.CreateInsertValue(NewRetVal, RetVal, RetIdx++); 406 if (RetVal)
|
| /src/sys/external/bsd/acpica/dist/os_specific/service_layers/ |
| osunixxf.c | 879 int RetVal; 911 while (((RetVal = sem_wait (Sem)) == -1) && (errno == EINTR)) 915 if (RetVal != 0) 973 while (((RetVal = sem_timedwait (Sem, &Time)) == -1) && (errno == EINTR)) 979 if (RetVal != 0)
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| Analysis.cpp | 343 static bool slotOnlyDiscardsData(const Value *RetVal, const Value *CallVal, 355 RetVal = getNoopInput(RetVal, RetIndices, BitsRequired, TLI, DL); 359 if (isa<UndefValue>(RetVal)) 371 if (CallVal != RetVal || CallIndices != RetIndices) 641 const Value *RetVal = Ret->getOperand(0), *CallVal = I; 656 (RetVal == Call->getArgOperand(0) || 657 isPointerBitcastEqualTo(RetVal, Call->getArgOperand(0)))) 664 bool RetEmpty = !firstRealType(RetVal->getType(), RetSubTypes, RetPath); 698 if (!slotOnlyDiscardsData(RetVal, CallVal, TmpRetPath, TmpCallPath [all...] |
| IfConversion.cpp | 507 bool RetVal = false; 520 RetVal = IfConvertSimple(BBI, Kind); 521 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); 522 if (RetVal) { 546 RetVal = IfConvertTriangle(BBI, Kind); 547 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); 548 if (RetVal) { 564 RetVal = IfConvertDiamond(BBI, Kind, NumDups, NumDups2, 567 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); 568 if (RetVal) ++NumDiamonds [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| DeadArgumentElimination.cpp | 982 Value *RetVal = UndefValue::get(RetTy); 995 RetVal = IRB.CreateInsertValue(RetVal, V, Ri, "oldret"); 999 CB.replaceAllUsesWith(RetVal); 1039 Value *RetVal = nullptr; 1050 RetVal = UndefValue::get(NRetTy); 1059 RetVal = IRB.CreateInsertValue(RetVal, EV, NewRetIdxs[RetI], 1064 RetVal = EV; 1070 auto *NewRet = ReturnInst::Create(F->getContext(), RetVal, RI) [all...] |
| FunctionAttrs.cpp | 609 Value *RetVal = Ret->getReturnValue()->stripPointerCasts(); 610 if (!isa<Argument>(RetVal) || RetVal->getType() != F->getReturnType()) 614 RetArg = RetVal; 615 else if (RetArg != RetVal) 880 Value *RetVal = FlowsToReturn[i]; 882 if (Constant *C = dyn_cast<Constant>(RetVal)) { 889 if (isa<Argument>(RetVal)) 892 if (Instruction *RVI = dyn_cast<Instruction>(RetVal)) 929 if (PointerMayBeCaptured(RetVal, false, /*StoreCaptures=*/false) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| Evaluator.cpp | 605 Constant *RetVal = nullptr; 608 if (!EvaluateFunction(Callee, RetVal, Formals)) { 613 InstResult = castCallResultIfNeeded(CB.getCalledOperand(), RetVal); 614 if (RetVal && !InstResult) 689 bool Evaluator::EvaluateFunction(Function *F, Constant *&RetVal, 737 RetVal = getVal(RI->getOperand(0));
|
| /src/external/apache2/llvm/dist/llvm/tools/bugpoint/ |
| ExecutionDriver.cpp | 334 Expected<int> RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, 337 if (Error E = RetVal.takeError()) 340 if (*RetVal == -1) { 359 outFile << "exit " << *RetVal << '\n';
|
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| BodyFarm.cpp | 96 ReturnStmt *makeReturn(const Expr *RetVal); 199 ReturnStmt *ASTMaker::makeReturn(const Expr *RetVal) { 200 return ReturnStmt::Create(C, SourceLocation(), const_cast<Expr *>(RetVal), 648 Expr *RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) 650 Stmts[1] = M.makeReturn(RetVal); 655 RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) 657 Stmt *Else = M.makeReturn(RetVal);
|
| /src/external/apache2/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/ |
| toy.cpp | 502 if (Value *RetVal = Body->codegen()) { 504 Builder->CreateRet(RetVal);
|