HomeSort by: relevance | last modified time | path
    Searched defs:RetVal (Results 1 - 25 of 33) sorted by relevancy

1 2

  /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/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/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
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);
PthreadLockChecker.cpp 426 SVal RetVal = Call.getReturnValue();
427 if (auto DefinedRetVal = RetVal.getAs<DefinedSVal>()) {
446 SVal RetVal = Call.getReturnValue();
447 if (auto DefinedRetVal = RetVal.getAs<DefinedSVal>()) {
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...]
  /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/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/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/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/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));
IntegerDivision.cpp 247 // ; %retVal = select i1 %ret0, i32 0, i32 %dividend
260 Value *RetVal = Builder.CreateSelect(Ret0, Zero, Dividend);
337 // ; %q_5 = phi i32 [ %q_4, %loop-exit ], [ %retVal, %special-cases ]
361 // ; %q_5 = phi i32 [ %q_4, %loop-exit ], [ %retVal, %special-cases ]
363 Q_5->addIncoming(RetVal, SpecialCases);
InlineFunction.cpp 1225 auto *RetVal = cast<CallBase>(RI->getOperand(0));
1226 // Sanity check that the cloned RetVal exists and is a call, otherwise we
1227 // cannot add the attributes on the cloned RetVal.
1230 auto *NewRetVal = dyn_cast_or_null<CallBase>(VMap.lookup(RetVal));
1249 // limit the check to both RetVal and RI are in the same basic block and
1251 if (RI->getParent() != RetVal->getParent() ||
1252 MayContainThrowingOrExitingCall(RetVal, RI))
  /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...]
WholeProgramDevirt.cpp 1380 // Evaluate each function and store the result in each target's RetVal
1398 Constant *RetVal;
1399 if (!Eval.EvaluateFunction(Target.Fn, RetVal, EvalArgs) ||
1400 !isa<ConstantInt>(RetVal))
1402 Target.RetVal = cast<ConstantInt>(RetVal)->getZExtValue();
1421 uint64_t TheRetVal = TargetsForSlot[0].RetVal;
1423 if (Target.RetVal != TheRetVal)
1543 if (Target.RetVal == (IsOne ? 1 : 0)) {
  /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/clang/lib/StaticAnalyzer/Core/
ExprEngineCXX.cpp 804 SVal RetVal = State->getSVal(CNE, LCtx);
817 State = State->assume(RetVal.castAs<DefinedOrUnknownSVal>(), true);
821 CNE, I, addObjectUnderConstruction(State, CNE, LCtx, RetVal));
CallEvent.cpp 528 SVal RetVal =
531 return RetVal;
BugReporterVisitors.cpp 1003 SVal RetVal = Node->getSVal(S);
1007 if (Optional<Loc> LValue = RetVal.getAs<Loc>())
1008 RetVal = State->getSVal(*LValue);
1016 if (Optional<Loc> RetLoc = RetVal.getAs<Loc>())
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
RetainCountChecker.cpp 926 SVal RetVal = state->getSVal(BindReturnTo, LCtx);
932 if (RetVal.isUnknown() ||
935 RetVal =
940 state = state->BindExpr(CE, LCtx, RetVal, /*Invalidate=*/false);
953 if (auto L = RetVal.getAs<DefinedOrUnknownSVal>())
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
CFLAndersAliasAnalysis.cpp 413 auto RetVal = InterfaceValue{0, 0};
414 ExtRelations.push_back(ExternalRelation{ArgVal, RetVal, 0});
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
CorrelatedValuePropagation.cpp 1083 auto *RetVal = RI->getReturnValue();
1084 if (!RetVal) break; // handle "ret void"
1085 if (isa<Constant>(RetVal)) break; // nothing to do
1086 if (auto *C = getConstantAt(RetVal, RI, LVI)) {
1088 RI->replaceUsesOfWith(RetVal, C);

Completed in 75 milliseconds

1 2