Home
last modified time | relevance | path

Searched refs:RetVal (Results 1 - 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
H A DUnix.h87 struct timespec RetVal; in toTimeSpec() local
88 RetVal.tv_sec = toTimeT(TP); in toTimeSpec()
89 RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count(); in toTimeSpec()
90 return RetVal; in toTimeSpec()
97 struct timeval RetVal; in toTimeVal() local
98 RetVal.tv_sec = toTimeT(TP); in toTimeVal()
99 RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count(); in toTimeVal()
100 return RetVal; in toTimeVal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
H A DUnix.h95 struct timespec RetVal; in toTimeSpec() local
96 RetVal.tv_sec = toTimeT(TP); in toTimeSpec()
97 RetVal.tv_nsec = (TP.time_since_epoch() % seconds(1)).count(); in toTimeSpec()
98 return RetVal; in toTimeSpec()
105 struct timeval RetVal; in toTimeVal() local
106 RetVal.tv_sec = toTimeT(TP); in toTimeVal()
107 RetVal.tv_usec = (TP.time_since_epoch() % seconds(1)).count(); in toTimeVal()
108 return RetVal; in toTimeVal()
/third_party/python/Modules/
H A Dzlibmodule.c323 PyObject *RetVal; in zlib_compress_impl() local
390 RetVal = OutputBuffer_Finish(&buffer, zst.avail_out); in zlib_compress_impl()
391 if (RetVal == NULL) { in zlib_compress_impl()
394 return RetVal; in zlib_compress_impl()
422 PyObject *RetVal; in zlib_decompress_impl() local
517 RetVal = OutputBuffer_WindowFinish(&buffer, &window, zst.avail_out); in zlib_decompress_impl()
518 if (RetVal != NULL) { in zlib_decompress_impl()
519 return RetVal; in zlib_decompress_impl()
756 PyObject *RetVal; in zlib_Compress_compress_impl() local
794 RetVal in zlib_Compress_compress_impl()
878 PyObject *RetVal; zlib_Decompress_decompress_impl() local
988 PyObject *RetVal; zlib_Compress_flush_impl() local
1255 PyObject *RetVal; zlib_Decompress_flush_impl() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
H A DWholeProgramDevirt.h135 uint64_t RetVal; member
168 // Set the bit at position Pos before the address point to RetVal.
171 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit()
174 // Set the bit at position Pos after the address point to RetVal.
177 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
180 // Set the bytes at position Pos before the address point to RetVal.
186 TM->Bits->Before.setLE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes()
188 TM->Bits->Before.setBE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes()
191 // Set the bytes at position Pos after the address point to RetVal.
195 TM->Bits->After.setBE(Pos - 8 * minAfterBytes(), RetVal, Siz in setAfterBytes()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
H A DHexagonHazardRecognizer.cpp46 HazardType RetVal = Hazard; in getHazardType() local
60 RetVal = NoHazard; in getHazardType()
61 LLVM_DEBUG(dbgs() << "*** Try .new version? " << (RetVal == NoHazard) in getHazardType()
65 return RetVal; in getHazardType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUUnifyDivergentExitNodes.cpp227 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); in runOnFunction() local
258 ReturnInst::Create(F.getContext(), RetVal, DummyReturnBB); in runOnFunction()
301 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); in runOnFunction() local
315 ReturnInst::Create(F.getContext(), RetVal, UnreachableBlock); in runOnFunction()
H A DAMDGPURewriteOutArguments.cpp393 Value *RetVal = RI->getReturnValue(); in runOnFunction() local
394 if (RetVal) in runOnFunction()
395 NewRetVal = B.CreateInsertValue(NewRetVal, RetVal, RetIdx++); in runOnFunction()
425 if (RetVal) in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp981 Value *RetVal = UndefValue::get(RetTy); in RemoveDeadStuffFromFunction() local
994 RetVal = InsertValueInst::Create(RetVal, V, i, "oldret", InsertPt); in RemoveDeadStuffFromFunction()
998 Call->replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction()
1036 Value *RetVal; in RemoveDeadStuffFromFunction() local
1039 RetVal = nullptr; in RemoveDeadStuffFromFunction()
1049 RetVal = UndefValue::get(NRetTy); in RemoveDeadStuffFromFunction()
1058 RetVal = InsertValueInst::Create(RetVal, EV, NewRetIdxs[i], in RemoveDeadStuffFromFunction()
1063 RetVal in RemoveDeadStuffFromFunction()
[all...]
H A DFunctionAttrs.cpp598 Value *RetVal = Ret->getReturnValue()->stripPointerCasts();
599 if (!isa<Argument>(RetVal) || RetVal->getType() != F->getReturnType())
603 RetArg = RetVal;
604 else if (RetArg != RetVal)
869 Value *RetVal = FlowsToReturn[i];
871 if (Constant *C = dyn_cast<Constant>(RetVal)) {
878 if (isa<Argument>(RetVal))
881 if (Instruction *RVI = dyn_cast<Instruction>(RetVal))
918 if (PointerMayBeCaptured(RetVal, fals
[all...]
H A DWholeProgramDevirt.cpp1179 // Evaluate each function and store the result in each target's RetVal in tryEvaluateFunctionsWithArgs()
1197 Constant *RetVal; in tryEvaluateFunctionsWithArgs() local
1198 if (!Eval.EvaluateFunction(Target.Fn, RetVal, EvalArgs) || in tryEvaluateFunctionsWithArgs()
1199 !isa<ConstantInt>(RetVal)) in tryEvaluateFunctionsWithArgs()
1201 Target.RetVal = cast<ConstantInt>(RetVal)->getZExtValue(); in tryEvaluateFunctionsWithArgs()
1220 uint64_t TheRetVal = TargetsForSlot[0].RetVal; in tryUniformRetValOpt()
1222 if (Target.RetVal != TheRetVal) in tryUniformRetValOpt()
1341 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DAnalysis.cpp354 static bool slotOnlyDiscardsData(const Value *RetVal, const Value *CallVal, in slotOnlyDiscardsData() argument
366 RetVal = getNoopInput(RetVal, RetIndices, BitsRequired, TLI, DL); in slotOnlyDiscardsData()
370 if (isa<UndefValue>(RetVal)) in slotOnlyDiscardsData()
382 if (CallVal != RetVal || CallIndices != RetIndices) in slotOnlyDiscardsData()
651 const Value *RetVal = Ret->getOperand(0), *CallVal = I; in returnTypeIsEligibleForTailCall() local
666 (RetVal == Call->getArgOperand(0) || in returnTypeIsEligibleForTailCall()
667 isPointerBitcastEqualTo(RetVal, Call->getArgOperand(0)))) in returnTypeIsEligibleForTailCall()
674 bool RetEmpty = !firstRealType(RetVal->getType(), RetSubTypes, RetPath); in returnTypeIsEligibleForTailCall()
707 if (!slotOnlyDiscardsData(RetVal, CallVa in returnTypeIsEligibleForTailCall()
[all...]
H A DIfConversion.cpp509 bool RetVal = false; in runOnMachineFunction() local
522 RetVal = IfConvertSimple(BBI, Kind); in runOnMachineFunction()
523 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in runOnMachineFunction()
524 if (RetVal) { in runOnMachineFunction()
548 RetVal = IfConvertTriangle(BBI, Kind); in runOnMachineFunction()
549 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in runOnMachineFunction()
550 if (RetVal) { in runOnMachineFunction()
566 RetVal = IfConvertDiamond(BBI, Kind, NumDups, NumDups2, in runOnMachineFunction()
569 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in runOnMachineFunction()
570 if (RetVal) in runOnMachineFunction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DCFLSteensAliasAnalysis.cpp164 for (auto *RetVal : RetVals) { in FunctionInfo()
165 assert(RetVal != nullptr); in FunctionInfo()
166 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
H A DCFLGraph.h264 if (auto RetVal = Inst.getReturnValue()) {
265 if (RetVal->getType()->isPointerTy()) {
266 addNode(RetVal);
267 ReturnValues.push_back(RetVal);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp587 Constant *RetVal = nullptr; in EvaluateBlock() local
590 if (!EvaluateFunction(Callee, RetVal, Formals)) { in EvaluateBlock()
595 InstResult = castCallResultIfNeeded(CS.getCalledValue(), RetVal); in EvaluateBlock()
596 if (RetVal && !InstResult) in EvaluateBlock()
672 bool Evaluator::EvaluateFunction(Function *F, Constant *&RetVal, in EvaluateFunction() argument
709 RetVal = getVal(RI->getOperand(0)); in EvaluateFunction()
H A DIntegerDivision.cpp260 Value *RetVal = Builder.CreateSelect(Ret0, Zero, Dividend); in generateUnsignedDivisionCode() local
363 Q_5->addIncoming(RetVal, SpecialCases); in generateUnsignedDivisionCode()
/third_party/vk-gl-cts/modules/egl/
H A DteglImageTests.cpp93 template <typename RetVal>
94 RetVal checkCallError (EglTestContext& eglTestCtx, const char* call, RetVal returnValue, EGLint expectError) in checkCallError()
116 template <typename RetVal>
117 void checkCallReturn (EglTestContext& eglTestCtx, const char* call, RetVal returnValue, RetVal expectReturnValue, EGLint expectError) in checkCallReturn()
/third_party/curl/docs/examples/
H A Dsynctime.c160 int RetVal = sscanf((char *)(ptr), "Date: %25s %hu %s %hu %hu:%hu:%hu", in SyncTime_CURL_WriteHeader() local
165 if(RetVal == 7) { in SyncTime_CURL_WriteHeader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp899 auto *RetVal = RI->getReturnValue(); in runImpl() local
900 if (!RetVal) break; // handle "ret void" in runImpl()
901 if (isa<Constant>(RetVal)) break; // nothing to do in runImpl()
902 if (auto *C = getConstantAt(RetVal, RI, LVI)) { in runImpl()
904 RI->replaceUsesOfWith(RetVal, C); in runImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h57 bool EvaluateFunction(Function *F, Constant *&RetVal,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h511 template<typename SC, typename RetVal=void>
513 RetVal visit(const SCEV *S) { in visit()
548 RetVal visitCouldNotCompute(const SCEVCouldNotCompute *S) { in visitCouldNotCompute()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp2226 bool RetVal = false;
2381 RetVal = true;
2386 return RetVal;
2391 bool RetVal = false;
2463 RetVal |= RescheduleOps(MBB, Lds, Base, true, MI2LocMap);
2471 RetVal |= RescheduleOps(MBB, Sts, Base, false, MI2LocMap);
2482 return RetVal;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp3397 // Now, get the shadow for the RetVal.
3436 bool isAMustTailRetVal(Value *RetVal) {
3437 if (auto *I = dyn_cast<BitCastInst>(RetVal)) {
3438 RetVal = I->getOperand(0);
3440 if (auto *I = dyn_cast<CallInst>(RetVal)) {
3448 Value *RetVal = I.getReturnValue();
3449 if (!RetVal) return;
3451 if (isAMustTailRetVal(RetVal)) return;
3452 Value *ShadowPtr = getShadowPtrForRetval(RetVal, IRB);
3454 insertShadowCheck(RetVal,
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp2357 bool RetVal = false;
2366 RetVal = true;
2372 return RetVal;
2379 bool RetVal = false;
2387 RetVal = true;
2393 return RetVal;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp1828 SDValue RetVal = DAG.getMemIntrinsicNode( in LowerCall()
1834 ProxyRegOps.push_back(RetVal.getValue(j)); in LowerCall()
1842 Chain = RetVal.getValue(NumElts); in LowerCall()
1843 InFlag = RetVal.getValue(NumElts + 1); in LowerCall()
2698 SDValue RetVal = OutVals[i]; in LowerReturn()
2700 RetVal = DAG.getNode(Outs[i].Flags.isSExt() ? ISD::SIGN_EXTEND in LowerReturn()
2702 dl, MVT::i32, RetVal); in LowerReturn()
2703 } else if (RetVal.getValueSizeInBits() < 16) { in LowerReturn()
2706 RetVal = DAG.getNode(ISD::ANY_EXTEND, dl, MVT::i16, RetVal); in LowerReturn()
[all...]

Completed in 37 milliseconds

12