Home
last modified time | relevance | path

Searched refs:RetVal (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
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/
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/
Dzlibmodule.c321 PyObject *RetVal; in zlib_compress_impl() local
387 RetVal = OutputBuffer_Finish(&buffer, zst.avail_out); in zlib_compress_impl()
388 if (RetVal == NULL) { in zlib_compress_impl()
391 return RetVal; in zlib_compress_impl()
419 PyObject *RetVal; in zlib_decompress_impl() local
514 RetVal = OutputBuffer_WindowFinish(&buffer, &window, zst.avail_out); in zlib_decompress_impl()
515 if (RetVal != NULL) { in zlib_decompress_impl()
516 return RetVal; in zlib_decompress_impl()
753 PyObject *RetVal; in zlib_Compress_compress_impl() local
791 RetVal = OutputBuffer_Finish(&buffer, self->zst.avail_out); in zlib_Compress_compress_impl()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h135 uint64_t RetVal; member
171 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit()
177 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
186 TM->Bits->Before.setLE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes()
188 TM->Bits->Before.setBE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes()
195 TM->Bits->After.setBE(Pos - 8 * minAfterBytes(), RetVal, Size); in setAfterBytes()
197 TM->Bits->After.setLE(Pos - 8 * minAfterBytes(), RetVal, Size); in setAfterBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
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/CodeGen/
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, CallVal, TmpRetPath, TmpCallPath, in returnTypeIsEligibleForTailCall()
DIfConversion.cpp509 bool RetVal = false; in INITIALIZE_PASS_DEPENDENCY() local
522 RetVal = IfConvertSimple(BBI, Kind); in INITIALIZE_PASS_DEPENDENCY()
523 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in INITIALIZE_PASS_DEPENDENCY()
524 if (RetVal) { in INITIALIZE_PASS_DEPENDENCY()
548 RetVal = IfConvertTriangle(BBI, Kind); in INITIALIZE_PASS_DEPENDENCY()
549 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in INITIALIZE_PASS_DEPENDENCY()
550 if (RetVal) { in INITIALIZE_PASS_DEPENDENCY()
566 RetVal = IfConvertDiamond(BBI, Kind, NumDups, NumDups2, in INITIALIZE_PASS_DEPENDENCY()
569 LLVM_DEBUG(dbgs() << (RetVal ? "succeeded!" : "failed!") << "\n"); in INITIALIZE_PASS_DEPENDENCY()
570 if (RetVal) ++NumDiamonds; in INITIALIZE_PASS_DEPENDENCY()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
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 = EV; in RemoveDeadStuffFromFunction()
1069 ReturnInst::Create(F->getContext(), RetVal, RI); in RemoveDeadStuffFromFunction()
DFunctionAttrs.cpp598 Value *RetVal = Ret->getReturnValue()->stripPointerCasts(); in addArgumentReturnedAttrs() local
599 if (!isa<Argument>(RetVal) || RetVal->getType() != F->getReturnType()) in addArgumentReturnedAttrs()
603 RetArg = RetVal; in addArgumentReturnedAttrs()
604 else if (RetArg != RetVal) in addArgumentReturnedAttrs()
869 Value *RetVal = FlowsToReturn[i]; in isFunctionMallocLike() local
871 if (Constant *C = dyn_cast<Constant>(RetVal)) { in isFunctionMallocLike()
878 if (isa<Argument>(RetVal)) in isFunctionMallocLike()
881 if (Instruction *RVI = dyn_cast<Instruction>(RetVal)) in isFunctionMallocLike()
918 if (PointerMayBeCaptured(RetVal, false, /*StoreCaptures=*/false)) in isFunctionMallocLike()
984 Value *RetVal = FlowsToReturn[i]; in isReturnNonNull() local
[all …]
DWholeProgramDevirt.cpp1197 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/Target/AMDGPU/
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()
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/Analysis/
DCFLSteensAliasAnalysis.cpp164 for (auto *RetVal : RetVals) { in FunctionInfo() local
165 assert(RetVal != nullptr); in FunctionInfo()
166 assert(RetVal->getType()->isPointerTy()); in FunctionInfo()
167 auto RetInfo = Sets.find(InstantiatedValue{RetVal, 0}); in FunctionInfo()
DCFLGraph.h264 if (auto RetVal = Inst.getReturnValue()) { in visitReturnInst() local
265 if (RetVal->getType()->isPointerTy()) { in visitReturnInst()
266 addNode(RetVal); in visitReturnInst()
267 ReturnValues.push_back(RetVal); in visitReturnInst()
DCFLAndersAliasAnalysis.cpp413 auto RetVal = InterfaceValue{0, 0}; in populateExternalRelations()
414 ExtRelations.push_back(ExternalRelation{ArgVal, RetVal, 0}); in populateExternalRelations()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
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()
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/
DteglImageTests.cpp93 template <typename RetVal>
94 RetVal checkCallError (EglTestContext& eglTestCtx, const char* call, RetVal returnValue, EGLint exp… in checkCallError()
116 template <typename RetVal>
117 void checkCallReturn (EglTestContext& eglTestCtx, const char* call, RetVal returnValue, RetVal expe… in checkCallReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
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/
DEvaluator.h57 bool EvaluateFunction(Function *F, Constant *&RetVal,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
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/
DARMLoadStoreOptimizer.cpp2226 bool RetVal = false; in RescheduleOps() local
2381 RetVal = true; in RescheduleOps()
2386 return RetVal; in RescheduleOps()
2391 bool RetVal = false; in RescheduleLoadStoreInstrs() local
2463 RetVal |= RescheduleOps(MBB, Lds, Base, true, MI2LocMap); in RescheduleLoadStoreInstrs()
2471 RetVal |= RescheduleOps(MBB, Sts, Base, false, MI2LocMap); in RescheduleLoadStoreInstrs()
2482 return RetVal; in RescheduleLoadStoreInstrs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp3436 bool isAMustTailRetVal(Value *RetVal) { in isAMustTailRetVal()
3437 if (auto *I = dyn_cast<BitCastInst>(RetVal)) { in isAMustTailRetVal()
3438 RetVal = I->getOperand(0); in isAMustTailRetVal()
3440 if (auto *I = dyn_cast<CallInst>(RetVal)) { in isAMustTailRetVal()
3448 Value *RetVal = I.getReturnValue(); in visitReturnInst() local
3449 if (!RetVal) return; in visitReturnInst()
3451 if (isAMustTailRetVal(RetVal)) return; in visitReturnInst()
3452 Value *ShadowPtr = getShadowPtrForRetval(RetVal, IRB); in visitReturnInst()
3454 insertShadowCheck(RetVal, &I); in visitReturnInst()
3455 Value *Shadow = getCleanShadow(RetVal); in visitReturnInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1828 SDValue RetVal = DAG.getMemIntrinsicNode( in LowerCall() local
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() local
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()
2710 StoreOperands.push_back(RetVal); in LowerReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp2357 bool RetVal = false; in hasOnlyLiveInOpers() local
2366 RetVal = true; in hasOnlyLiveInOpers()
2372 return RetVal; in hasOnlyLiveInOpers()
2379 bool RetVal = false; in hasOnlyLiveOutUses() local
2387 RetVal = true; in hasOnlyLiveOutUses()
2393 return RetVal; in hasOnlyLiveOutUses()

12