/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Unix.h | 91 struct timespec RetVal; local 92 RetVal.tv_sec = toTimeT(TP); 93 RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count(); 94 return RetVal; 101 struct timeval RetVal; local 102 RetVal.tv_sec = toTimeT(TP); 103 RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count(); 104 return RetVal;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | 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);
|
H A D | STLAlgorithmModeling.cpp | 113 SVal RetVal = SVB.conjureSymbolVal(nullptr, CE, LCtx, C.blockCount()); local 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);
|
H A D | 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, 425 SVal RetVal, cons 424 handleComparison(CheckerContext &C, const Expr *CE, SVal RetVal, const SVal &LVal, const SVal &RVal, OverloadedOperatorKind Op) const argument 477 processComparison(CheckerContext &C, ProgramStateRef State, SymbolRef Sym1, SymbolRef Sym2, const SVal &RetVal, OverloadedOperatorKind Op) const argument 507 handleIncrement(CheckerContext &C, const SVal &RetVal, const SVal &Iter, bool Postfix) const argument 533 handleDecrement(CheckerContext &C, const SVal &RetVal, const SVal &Iter, bool Postfix) const argument 559 handleRandomIncrOrDecr(CheckerContext &C, const Expr *CE, OverloadedOperatorKind Op, const SVal &RetVal, const SVal &LHS, const SVal &RHS) const argument 641 handleAdvance(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Iter, SVal Amount) const argument 647 handlePrev(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Iter, SVal Amount) const argument 652 handleNext(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Iter, SVal Amount) const argument 657 assignToContainer(CheckerContext &C, const Expr *CE, const SVal &RetVal, const MemRegion *Cont) const argument [all...] |
H A D | PaddingChecker.cpp | 248 FieldInfo RetVal; 249 RetVal.Field = FD; 251 std::tie(RetVal.Size, RetVal.Align) = 253 assert(llvm::isPowerOf2_64(RetVal.Align.getQuantity())); 255 RetVal.Align = std::max(Ctx.toCharUnitsFromBits(Max), RetVal.Align); 256 return RetVal;
|
H A D | StreamChecker.cpp | 182 DefinedSVal RetVal = makeRetVal(C, CE); local 183 State = State->BindExpr(CE, C.getLocationContext(), RetVal); 184 State = State->assume(RetVal, true); 442 DefinedSVal RetVal = makeRetVal(C, CE); 443 SymbolRef RetSym = RetVal.getAsSymbol(); 444 assert(RetSym && "RetVal must be a symbol here."); 446 State = State->BindExpr(CE, C.getLocationContext(), RetVal); 452 C.getConstraintManager().assumeDual(State, RetVal); 635 Optional<NonLoc> RetVal = makeRetVal(C, CE).castAs<NonLoc>(); local 636 assert(RetVal [all...] |
H A D | 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); 1301 Optional<SVal> RetVal) { 1305 if (!RetVal) 1306 RetVal = Call.getReturnValue(); 1340 SymbolRef Sym = RetVal->getAsLocSymbol(); 1584 DefinedSVal RetVal = svalBuilder.getConjuredHeapSymbolVal(CE, LCtx, Count) local 1586 State = State->BindExpr(CE, C.getLocationContext(), RetVal); 1299 ProcessZeroAllocCheck( const CallEvent &Call, const unsigned IndexOfSizeArg, ProgramStateRef State, Optional<SVal> RetVal) argument 1610 MallocUpdateRefState(CheckerContext &C, const Expr *E, ProgramStateRef State, AllocationFamily Family, Optional<SVal> RetVal) argument 1904 SVal RetVal = C.getSVal(ParentExpr); local 2510 SVal RetVal = C.getSVal(CE); local 2792 SVal RetVal = C.getSVal(E); local [all...] |
H A D | 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, 259 handleBegin(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Cont) const argument 281 handleEnd(CheckerContext &C, const Expr *CE, SVal RetVal, SVal Cont) const argument
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | WholeProgramDevirt.h | 135 uint64_t RetVal; member in struct:llvm::wholeprogramdevirt::VirtualCallTarget 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, Siz [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonHazardRecognizer.cpp | 46 HazardType RetVal = Hazard; local 60 RetVal = NoHazard; 61 LLVM_DEBUG(dbgs() << "*** Try .new version? " << (RetVal == NoHazard) 65 return RetVal;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUUnifyDivergentExitNodes.cpp | 235 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); local 266 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); 311 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); local 325 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock);
|
H A D | AMDGPURewriteOutArguments.cpp | 393 Value *RetVal = RI->getReturnValue(); local 394 if (RetVal) 395 NewRetVal = B.CreateInsertValue(NewRetVal, RetVal, RetIdx++); 425 if (RetVal)
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | Evaluator.h | 57 bool EvaluateFunction(Function *F, Constant *&RetVal,
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CFLSteensAliasAnalysis.cpp | 164 for (auto *RetVal : RetVals) { 165 assert(RetVal != nullptr); 166 assert(RetVal->getType()->isPointerTy()); 167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0});
|
H A D | CFLGraph.h | 264 if (auto RetVal = Inst.getReturnValue()) { 265 if (RetVal->getType()->isPointerTy()) { 266 addNode(RetVal); 267 ReturnValues.push_back(RetVal);
|
/freebsd-13-stable/sys/contrib/dev/acpica/os_specific/service_layers/ |
H A D | osunixxf.c | 987 int RetVal; local 1019 while (((RetVal = sem_wait (Sem)) == -1) && (errno == EINTR)) 1023 if (RetVal != 0) 1081 while (((RetVal = sem_timedwait (Sem, &Time)) == -1) && (errno == EINTR)) 1087 if (RetVal != 0)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | Analysis.cpp | 355 static bool slotOnlyDiscardsData(const Value *RetVal, const Value *CallVal, argument 367 RetVal = getNoopInput(RetVal, RetIndices, BitsRequired, TLI, DL); 371 if (isa<UndefValue>(RetVal)) 383 if (CallVal != RetVal || CallIndices != RetIndices) 650 const Value *RetVal = Ret->getOperand(0), *CallVal = I; local 665 (RetVal == Call->getArgOperand(0) || 666 isPointerBitcastEqualTo(RetVal, Call->getArgOperand(0)))) 673 bool RetEmpty = !firstRealType(RetVal->getType(), RetSubTypes, RetPath); 707 if (!slotOnlyDiscardsData(RetVal, CallVa [all...] |
H A D | IfConversion.cpp | 507 bool RetVal = false; local 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) [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 979 Value *RetVal = UndefValue::get(RetTy); local 992 RetVal = IRB.CreateInsertValue(RetVal, V, Ri, "oldret"); 996 CB.replaceAllUsesWith(RetVal); 1036 Value *RetVal = nullptr; local 1047 RetVal = UndefValue::get(NRetTy); 1056 RetVal = IRB.CreateInsertValue(RetVal, EV, NewRetIdxs[RetI], 1061 RetVal = EV; 1067 auto *NewRet = ReturnInst::Create(F->getContext(), RetVal, R [all...] |
H A D | FunctionAttrs.cpp | 596 Value *RetVal = Ret->getReturnValue()->stripPointerCasts(); 597 if (!isa<Argument>(RetVal) || RetVal->getType() != F->getReturnType()) 601 RetArg = RetVal; 602 else if (RetArg != RetVal) 867 Value *RetVal = FlowsToReturn[i]; 869 if (Constant *C = dyn_cast<Constant>(RetVal)) { 876 if (isa<Argument>(RetVal)) 879 if (Instruction *RVI = dyn_cast<Instruction>(RetVal)) 916 if (PointerMayBeCaptured(RetVal, fals [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Evaluator.cpp | 586 Constant *RetVal = nullptr; local 589 if (!EvaluateFunction(Callee, RetVal, Formals)) { 594 InstResult = castCallResultIfNeeded(CB.getCalledOperand(), RetVal); 595 if (RetVal && !InstResult) 669 bool Evaluator::EvaluateFunction(Function *F, Constant *&RetVal, argument 706 RetVal = getVal(RI->getOperand(0));
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | ExecutionDriver.cpp | 346 Expected<int> RetVal = AI->ExecuteProgram(BitcodeFile, InputArgv, InputFile, local 349 if (Error E = RetVal.takeError()) 352 if (*RetVal == -1) { 371 outFile << "exit " << *RetVal << '\n'; local
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 96 ReturnStmt *makeReturn(const Expr *RetVal); 201 ReturnStmt *ASTMaker::makeReturn(const Expr *RetVal) { argument 202 return ReturnStmt::Create(C, SourceLocation(), const_cast<Expr *>(RetVal), 646 Expr *RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) local 648 Stmts[1] = M.makeReturn(RetVal); 653 RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) 655 Stmt *Else = M.makeReturn(RetVal);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | InstrProfilingFile.c | 329 int RetVal; local 346 RetVal = lprofWriteData(&fileWriter, lprofGetVPDataReader(), MergeDone); 357 return RetVal; 362 int RetVal; local 375 RetVal = orderFileWriter(OutputFile, DataBegin); 378 return RetVal;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 898 auto *RetVal = RI->getReturnValue(); local 899 if (!RetVal) break; // handle "ret void" 900 if (isa<Constant>(RetVal)) break; // nothing to do 901 if (auto *C = getConstantAt(RetVal, RI, LVI)) { 903 RI->replaceUsesOfWith(RetVal, C);
|