Home
last modified time | relevance | path

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

12345

/external/llvm/unittests/Transforms/IPO/
DWholeProgramDevirt.cpp82 Targets[0].RetVal = 1; in TEST()
83 Targets[1].RetVal = 0; in TEST()
92 Targets[0].RetVal = 0; in TEST()
93 Targets[1].RetVal = 1; in TEST()
102 Targets[0].RetVal = 12; in TEST()
103 Targets[1].RetVal = 34; in TEST()
112 Targets[0].RetVal = 56; in TEST()
113 Targets[1].RetVal = 78; in TEST()
124 Targets[0].RetVal = 1; in TEST()
125 Targets[1].RetVal = 0; in TEST()
[all …]
/external/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()
/external/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()
/external/python/cpython2/Modules/
Dzlibmodule.c206 PyObject *RetVal = NULL; in PyZlib_compress() local
243 obuflen = arrange_output_buffer(&zst, &RetVal, obuflen); in PyZlib_compress()
267 if (_PyBytes_Resize(&RetVal, zst.next_out - in PyZlib_compress()
268 (Byte *)PyBytes_AS_STRING(RetVal)) < 0) in PyZlib_compress()
270 return RetVal; in PyZlib_compress()
275 Py_XDECREF(RetVal); in PyZlib_compress()
288 PyObject *RetVal = NULL; in PyZlib_decompress() local
328 r_strlen = arrange_output_buffer(&zst, &RetVal, r_strlen); in PyZlib_decompress()
371 _PyString_Resize(&RetVal, zst.next_out - in PyZlib_decompress()
372 (Byte *)PyBytes_AS_STRING(RetVal)); in PyZlib_decompress()
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-ms-back-references-pr13207.cpp170 struct RetVal { int hash; }; struct
172 RetVal fun_tmpl(const T &t) { return RetVal(); } in fun_tmpl()
173 RetVal fun_normal(int t) { return RetVal(); } in fun_normal()
181 template <typename T, RetVal (*F)(T)>
182 RetVal fun_tmpl_recurse(T t) { in fun_tmpl_recurse()
184 return RetVal(); in fun_tmpl_recurse()
187 RetVal ident(int x) { return RetVal(); } in ident()
/external/clang/lib/StaticAnalyzer/Checkers/
DReturnUndefChecker.cpp33 DefinedOrUnknownSVal RetVal) const;
44 SVal RetVal = C.getSVal(RetE); in checkPreStmt() local
49 if (RetVal.isUndef()) { in checkPreStmt()
76 checkReference(C, RetE, RetVal.castAs<DefinedOrUnknownSVal>()); in checkPreStmt()
104 DefinedOrUnknownSVal RetVal) const { in checkReference()
106 std::tie(StNonNull, StNull) = C.getState()->assume(RetVal); in checkReference()
DPaddingChecker.cpp217 CharUnitPair RetVal; in calculateOptimalPad() local
219 std::tie(RetVal.Size, RetVal.Align) = in calculateOptimalPad()
221 assert(llvm::isPowerOf2_64(RetVal.Align.getQuantity())); in calculateOptimalPad()
223 RetVal.Align = std::max(Ctx.toCharUnitsFromBits(Max), RetVal.Align); in calculateOptimalPad()
224 return RetVal; in calculateOptimalPad()
/external/llvm/include/llvm/Transforms/IPO/
DWholeProgramDevirt.h132 uint64_t RetVal; member
165 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit()
171 TM->Bits->After.setBit(Pos - 8 * minAfterBytes(), RetVal); in setAfterBit()
180 TM->Bits->Before.setLE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes()
182 TM->Bits->Before.setBE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes()
189 TM->Bits->After.setBE(Pos - 8 * minAfterBytes(), RetVal, Size); in setAfterBytes()
191 TM->Bits->After.setLE(Pos - 8 * minAfterBytes(), RetVal, Size); in setAfterBytes()
/external/python/cpython3/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 …]
/external/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()
/external/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()
/external/perfetto/ui/src/controller/
Dftrace_controller.ts33 interface RetVal { interface
65 promise.then(({events, offset, numEvents}: RetVal) => {
90 async lookupFtraceEvents(offset: number, count: number): Promise<RetVal> {
/external/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()
/external/clang/lib/Analysis/
DBodyFarm.cpp79 ReturnStmt *makeReturn(const Expr *RetVal);
159 ReturnStmt *ASTMaker::makeReturn(const Expr *RetVal) { in makeReturn() argument
160 return new (C) ReturnStmt(SourceLocation(), const_cast<Expr*>(RetVal), in makeReturn()
334 Expr *RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) in create_OSAtomicCompareAndSwap() local
336 Stmts[1] = M.makeReturn(RetVal); in create_OSAtomicCompareAndSwap()
341 RetVal = isBoolean ? M.makeIntegralCastToBoolean(BoolVal) in create_OSAtomicCompareAndSwap()
343 Stmt *Else = M.makeReturn(RetVal); in create_OSAtomicCompareAndSwap()
/external/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 …]
/external/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp931 Value *RetVal = UndefValue::get(RetTy); in RemoveDeadStuffFromFunction() local
944 RetVal = InsertValueInst::Create(RetVal, V, i, "oldret", InsertPt); in RemoveDeadStuffFromFunction()
948 Call->replaceAllUsesWith(RetVal); in RemoveDeadStuffFromFunction()
986 Value *RetVal; in RemoveDeadStuffFromFunction() local
989 RetVal = nullptr; in RemoveDeadStuffFromFunction()
999 RetVal = UndefValue::get(NRetTy); in RemoveDeadStuffFromFunction()
1008 RetVal = InsertValueInst::Create(RetVal, EV, NewRetIdxs[i], in RemoveDeadStuffFromFunction()
1013 RetVal = EV; in RemoveDeadStuffFromFunction()
1019 ReturnInst::Create(F->getContext(), RetVal, RI); in RemoveDeadStuffFromFunction()
DWholeProgramDevirt.cpp434 Constant *RetVal; in tryEvaluateFunctionsWithArgs() local
435 if (!Eval.EvaluateFunction(Target.Fn, RetVal, EvalArgs) || in tryEvaluateFunctionsWithArgs()
436 !isa<ConstantInt>(RetVal)) in tryEvaluateFunctionsWithArgs()
438 Target.RetVal = cast<ConstantInt>(RetVal)->getZExtValue(); in tryEvaluateFunctionsWithArgs()
448 uint64_t TheRetVal = TargetsForSlot[0].RetVal; in tryUniformRetValOpt()
450 if (Target.RetVal != TheRetVal) in tryUniformRetValOpt()
466 if (Target.RetVal == (IsOne ? 1 : 0)) { in tryUniqueRetValOpt()
DFunctionAttrs.cpp685 Value *RetVal = FlowsToReturn[i]; in isFunctionMallocLike() local
687 if (Constant *C = dyn_cast<Constant>(RetVal)) { in isFunctionMallocLike()
694 if (isa<Argument>(RetVal)) in isFunctionMallocLike()
697 if (Instruction *RVI = dyn_cast<Instruction>(RetVal)) in isFunctionMallocLike()
733 if (PointerMayBeCaptured(RetVal, false, /*StoreCaptures=*/false)) in isFunctionMallocLike()
796 Value *RetVal = FlowsToReturn[i]; in isReturnNonNull() local
799 if (isKnownNonNull(RetVal)) in isReturnNonNull()
804 Instruction *RVI = dyn_cast<Instruction>(RetVal); in isReturnNonNull()
/external/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()
/external/llvm/lib/CodeGen/
DAnalysis.cpp332 static bool slotOnlyDiscardsData(const Value *RetVal, const Value *CallVal, in slotOnlyDiscardsData() argument
344 RetVal = getNoopInput(RetVal, RetIndices, BitsRequired, TLI, DL); in slotOnlyDiscardsData()
348 if (isa<UndefValue>(RetVal)) in slotOnlyDiscardsData()
360 if (CallVal != RetVal || CallIndices != RetIndices) in slotOnlyDiscardsData()
574 const Value *RetVal = Ret->getOperand(0), *CallVal = I; in returnTypeIsEligibleForTailCall() local
578 bool RetEmpty = !firstRealType(RetVal->getType(), RetSubTypes, RetPath); in returnTypeIsEligibleForTailCall()
611 if (!slotOnlyDiscardsData(RetVal, CallVal, TmpRetPath, TmpCallPath, in returnTypeIsEligibleForTailCall()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DASTParser.stg46 RetVal.Tree := Adaptor.ErrorNode(Input, RetVal.Start as IToken,
213 RetVal.Tree := Adaptor.RulePostProcessing(Root[0]) as I<ASTLabelType>;
215 Adaptor.SetTokenBoundaries(RetVal.Tree, RetVal.Start as IToken, RetVal.Stop as IToken);
DASTTreeParser.stg65 RetVal.Tree := _First[0] as I<ASTLabelType>;
66 if (Adaptor.GetParent(RetVal.Tree) \<\> nil) and (Adaptor.IsNil(Adaptor.GetParent(RetVal.Tree))) th…
67 RetVal.Tree := Adaptor.GetParent(RetVal.Tree) as I<ASTLabelType>;
302 RetVal.Tree := Adaptor.RulePostProcessing(Root[0]) as I<ASTLabelType>;
/external/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()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp452 auto *RetVal = RI->getReturnValue(); in runImpl() local
453 if (!RetVal) break; // handle "ret void" in runImpl()
454 if (isa<Constant>(RetVal)) break; // nothing to do in runImpl()
455 if (auto *C = getConstantAt(RetVal, RI, LVI)) { in runImpl()
457 RI->replaceUsesOfWith(RetVal, C); in runImpl()

12345