Home
last modified time | relevance | path

Searched refs:RetVals (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp141 SmallVector<Value *,4> RetVals; in PropagateConstantReturn() local
145 RetVals.push_back(UndefValue::get(STy->getElementType(i))); in PropagateConstantReturn()
147 RetVals.push_back(UndefValue::get(F.getReturnType())); in PropagateConstantReturn()
152 for (unsigned i = 0, e = RetVals.size(); i != e; ++i) { in PropagateConstantReturn()
154 Value *RV = RetVals[i]; in PropagateConstantReturn()
174 RetVals[i] = V; in PropagateConstantReturn()
184 RetVals[i] = nullptr; in PropagateConstantReturn()
186 if (++NumNonConstant == RetVals.size()) in PropagateConstantReturn()
211 Value* New = RetVals[0]; in PropagateConstantReturn()
235 Value *New = RetVals[index]; in PropagateConstantReturn()
DDeadArgumentElimination.cpp483 typedef SmallVector<Liveness, 5> RetVals; in SurveyFunction() typedef
484 RetVals RetValLiveness(RetCount, MaybeLive); in SurveyFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DIPConstantPropagation.cpp170 SmallVector<Value *,4> RetVals; in PropagateConstantReturn() local
174 RetVals.push_back(UndefValue::get(STy->getElementType(i))); in PropagateConstantReturn()
176 RetVals.push_back(UndefValue::get(F.getReturnType())); in PropagateConstantReturn()
181 for (unsigned i = 0, e = RetVals.size(); i != e; ++i) { in PropagateConstantReturn()
183 Value *RV = RetVals[i]; in PropagateConstantReturn()
203 RetVals[i] = V; in PropagateConstantReturn()
213 RetVals[i] = nullptr; in PropagateConstantReturn()
215 if (++NumNonConstant == RetVals.size()) in PropagateConstantReturn()
240 Value* New = RetVals[0]; in PropagateConstantReturn()
264 Value *New = RetVals[index]; in PropagateConstantReturn()
DDeadArgumentElimination.cpp506 using RetVals = SmallVector<Liveness, 5>; in SurveyFunction() typedef
508 RetVals RetValLiveness(RetCount, MaybeLive); in SurveyFunction()
/external/llvm-project/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp356 const SmallVectorImpl<Value *> &RetVals) { in getInterfaceValue() argument
362 else if (is_contained(RetVals, Val)) in getInterfaceValue()
406 const SmallVectorImpl<Value *> &RetVals, const ReachabilitySet &ReachSet) { in populateExternalRelations() argument
411 if (is_contained(RetVals, &Arg)) { in populateExternalRelations()
433 if (auto Dst = getInterfaceValue(OuterMapping.first, RetVals)) { in populateExternalRelations()
436 if (auto Src = getInterfaceValue(InnerMapping.first, RetVals)) { in populateExternalRelations()
491 const SmallVectorImpl<Value *> &RetVals, const AliasAttrMap &AMap) { in populateExternalAttributes() argument
493 if (auto IVal = getInterfaceValue(Mapping.first, RetVals)) { in populateExternalAttributes()
502 const Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument
505 populateExternalAttributes(Summary.RetParamAttributes, Fn, RetVals, AMap); in FunctionInfo()
[all …]
DCFLSteensAliasAnalysis.cpp77 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals,
117 Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument
164 for (auto *RetVal : RetVals) { in FunctionInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLAndersAliasAnalysis.cpp356 const SmallVectorImpl<Value *> &RetVals) { in getInterfaceValue() argument
362 else if (is_contained(RetVals, Val)) in getInterfaceValue()
406 const SmallVectorImpl<Value *> &RetVals, const ReachabilitySet &ReachSet) { in populateExternalRelations() argument
411 if (is_contained(RetVals, &Arg)) { in populateExternalRelations()
433 if (auto Dst = getInterfaceValue(OuterMapping.first, RetVals)) { in populateExternalRelations()
436 if (auto Src = getInterfaceValue(InnerMapping.first, RetVals)) { in populateExternalRelations()
491 const SmallVectorImpl<Value *> &RetVals, const AliasAttrMap &AMap) { in populateExternalAttributes() argument
493 if (auto IVal = getInterfaceValue(Mapping.first, RetVals)) { in populateExternalAttributes()
502 const Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument
505 populateExternalAttributes(Summary.RetParamAttributes, Fn, RetVals, AMap); in FunctionInfo()
[all …]
DCFLSteensAliasAnalysis.cpp77 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals,
117 Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument
164 for (auto *RetVal : RetVals) { in FunctionInfo()
/external/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp74 FunctionInfo(Function &Fn, const SmallVectorImpl<Value *> &RetVals,
129 Function &Fn, const SmallVectorImpl<Value *> &RetVals, in FunctionInfo() argument
176 for (auto *RetVal : RetVals) { in FunctionInfo()
/external/llvm-project/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp504 using RetVals = SmallVector<Liveness, 5>; in SurveyFunction() typedef
506 RetVals RetValLiveness(RetCount, MaybeLive); in SurveyFunction()
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1834 CAMLprim LLVMValueRef llvm_build_aggregate_ret(value RetVals, value B) { in llvm_build_aggregate_ret() argument
1835 return LLVMBuildAggregateRet(Builder_val(B), (LLVMValueRef *) Op_val(RetVals), in llvm_build_aggregate_ret()
1836 Wosize_val(RetVals)); in llvm_build_aggregate_ret()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1724 CAMLprim LLVMValueRef llvm_build_aggregate_ret(value RetVals, value B) { in llvm_build_aggregate_ret() argument
1725 return LLVMBuildAggregateRet(Builder_val(B), (LLVMValueRef *) Op_val(RetVals), in llvm_build_aggregate_ret()
1726 Wosize_val(RetVals)); in llvm_build_aggregate_ret()
/external/llvm/include/llvm-c/
DCore.h2891 LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef, LLVMValueRef *RetVals,
/external/llvm/lib/IR/
DCore.cpp2449 LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef B, LLVMValueRef *RetVals, in LLVMBuildAggregateRet() argument
2451 return wrap(unwrap(B)->CreateAggregateRet(unwrap(RetVals), N)); in LLVMBuildAggregateRet()
/external/llvm-project/llvm/include/llvm-c/
DCore.h3618 LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef, LLVMValueRef *RetVals,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3581 LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef, LLVMValueRef *RetVals,
/external/llvm-project/llvm/lib/IR/
DCore.cpp3120 LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef B, LLVMValueRef *RetVals, in LLVMBuildAggregateRet() argument
3122 return wrap(unwrap(B)->CreateAggregateRet(unwrap(RetVals), N)); in LLVMBuildAggregateRet()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp3084 LLVMValueRef LLVMBuildAggregateRet(LLVMBuilderRef B, LLVMValueRef *RetVals, in LLVMBuildAggregateRet() argument
3086 return wrap(unwrap(B)->CreateAggregateRet(unwrap(RetVals), N)); in LLVMBuildAggregateRet()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp4370 SmallVector<std::pair<unsigned, SDValue>, 4> RetVals; in LowerReturn() local
4407 std::find_if(RetVals.begin(), RetVals.end(), in LowerReturn()
4414 RetVals.emplace_back(VA.getLocReg(), Arg); in LowerReturn()
4420 for (auto &RetVal : RetVals) { in LowerReturn()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp5589 SmallVector<std::pair<unsigned, SDValue>, 4> RetVals; in LowerReturn() local
5626 std::find_if(RetVals.begin(), RetVals.end(), in LowerReturn()
5633 RetVals.emplace_back(VA.getLocReg(), Arg); in LowerReturn()
5639 for (auto &RetVal : RetVals) { in LowerReturn()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp2666 SmallVector<std::pair<Register, SDValue>, 4> RetVals; in LowerReturn() local
2718 RetVals.push_back(std::make_pair(VA.getLocReg(), ValToCopy)); in LowerReturn()
2743 Passv64i1ArgInRegs(dl, DAG, ValToCopy, RetVals, VA, RVLocs[++I], in LowerReturn()
2750 RetVals.push_back(std::make_pair(VA.getLocReg(), ValToCopy)); in LowerReturn()
2762 for (auto &RetVal : RetVals) { in LowerReturn()