Home
last modified time | relevance | path

Searched refs:RetTy (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstVisitor.h79 template<typename SubClass, typename RetTy=void>
113 RetTy visit(Instruction *I) { return visit(*I); } in visit()
117 RetTy visit(Instruction &I) { in visit()
157 RetTy visit##OPCODE(CLASS &I) { \
168 RetTy visitICmpInst(ICmpInst &I) { DELEGATE(CmpInst);} in visitICmpInst()
169 RetTy visitFCmpInst(FCmpInst &I) { DELEGATE(CmpInst);} in visitFCmpInst()
170 RetTy visitAllocaInst(AllocaInst &I) { DELEGATE(UnaryInstruction);} in visitAllocaInst()
171 RetTy visitLoadInst(LoadInst &I) { DELEGATE(UnaryInstruction);} in visitLoadInst()
172 RetTy visitStoreInst(StoreInst &I) { DELEGATE(Instruction);} in visitStoreInst()
173 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst()
[all …]
DModule.h358 AttributeList AttributeList, Type *RetTy, in getOrInsertFunction() argument
362 FunctionType::get(RetTy, ArgTys, false), in getOrInsertFunction()
368 FunctionCallee getOrInsertFunction(StringRef Name, Type *RetTy, in getOrInsertFunction() argument
370 return getOrInsertFunction(Name, AttributeList{}, RetTy, Args...); in getOrInsertFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h306 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument
308 return BaseT::getIntrinsicCost(IID, RetTy, Arguments, U); in getIntrinsicCost()
311 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument
325 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys, U); in getIntrinsicCost()
1071 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
1074 unsigned RetVF = (RetTy->isVectorTy() ? RetTy->getVectorNumElements() : 1);
1088 if (VF > 1 && !RetTy->isVoidTy())
1089 RetTy = VectorType::get(RetTy, VF);
1097 if (!RetTy->isVoidTy())
1098 ScalarizationCost += getScalarizationOverhead(RetTy, true, false);
[all …]
DFastISel.h71 Type *RetTy = nullptr; member
107 RetTy = ResultTy; in setCallee()
130 RetTy = ResultTy;
153 RetTy = ResultTy;
169 RetTy = ResultTy;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp329 Type *RetTy = F->getReturnType(); in NumRetVals() local
330 if (RetTy->isVoidTy()) in NumRetVals()
332 else if (StructType *STy = dyn_cast<StructType>(RetTy)) in NumRetVals()
334 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in NumRetVals()
344 Type *RetTy = F->getReturnType(); in getRetComponentType() local
345 assert(!RetTy->isVoidTy() && "void type has no subtype"); in getRetComponentType()
347 if (StructType *STy = dyn_cast<StructType>(RetTy)) in getRetComponentType()
349 else if (ArrayType *ATy = dyn_cast<ArrayType>(RetTy)) in getRetComponentType()
352 return RetTy; in getRetComponentType()
770 Type *RetTy = FTy->getReturnType(); in RemoveDeadStuffFromFunction() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp33 Type *RetTy = FTy->getReturnType(); in runFunction() local
43 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
86 switch (RetTy->getTypeID()) { in runFunction()
90 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); in runFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUUnifyDivergentExitNodes.cpp226 Type *RetTy = F.getReturnType(); in runOnFunction() local
227 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); in runOnFunction()
254 RetTy->isVoidTy()) { in runOnFunction()
300 Type *RetTy = F.getReturnType(); in runOnFunction() local
301 Value *RetVal = RetTy->isVoidTy() ? nullptr : UndefValue::get(RetTy); in runOnFunction()
DAMDGPURewriteOutArguments.cpp239 Type *RetTy = F.getReturnType(); in runOnFunction() local
240 if (!RetTy->isVoidTy()) { in runOnFunction()
241 ReturnNumRegs = DL->getTypeStoreSize(RetTy) / 4; in runOnFunction()
246 ReturnTypes.push_back(RetTy); in runOnFunction()
448 int RetIdx = RetTy->isVoidTy() ? 0 : 1; in runOnFunction()
469 if (!RetTy->isVoidTy()) { in runOnFunction()
DAMDGPUTargetTransformInfo.cpp467 int GCNTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
471 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost()
473 EVT OrigTy = TLI->getValueType(DL, RetTy); in getIntrinsicInstrCost()
475 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost()
479 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, RetTy); in getIntrinsicInstrCost()
496 int GCNTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
499 return getIntrinsicInstrCost<Value>(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost()
502 int GCNTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
505 return getIntrinsicInstrCost<Type>(ID, RetTy, Tys, FMF, in getIntrinsicInstrCost()
DAMDGPUTargetTransformInfo.h218 int getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
221 int getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
224 int getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCCState.h33 const Type *RetTy, const char * Func);
53 const Type *RetTy);
120 CCAssignFn Fn, const Type *RetTy, in AnalyzeCallResult() argument
122 PreAnalyzeCallResultForF128(Ins, RetTy, Func); in AnalyzeCallResult()
123 PreAnalyzeCallResultForVectorFloat(Ins, RetTy); in AnalyzeCallResult()
DMipsCCState.cpp88 const Type *RetTy, const char *Call) { in PreAnalyzeCallResultForF128() argument
91 originalTypeIsF128(RetTy, Call)); in PreAnalyzeCallResultForF128()
92 OriginalArgWasFloat.push_back(RetTy->isFloatingPointTy()); in PreAnalyzeCallResultForF128()
112 const SmallVectorImpl<ISD::InputArg> &Ins, const Type *RetTy) { in PreAnalyzeCallResultForVectorFloat() argument
114 OriginalRetWasFloatVector.push_back(originalTypeIsVectorFloat(RetTy)); in PreAnalyzeCallResultForVectorFloat()
DMips16ISelLowering.cpp367 (Type* RetTy, ArgListTy &Args, bool &needHelper) const { in getMips16HelperFunction() argument
377 if (RetTy->isFloatTy()) { in getMips16HelperFunction()
380 else if (RetTy ->isDoubleTy()) { in getMips16HelperFunction()
382 } else if (StructType *SRetTy = dyn_cast<StructType>(RetTy)) { in getMips16HelperFunction()
479 getMips16HelperFunction(CLI.RetTy, CLI.getArgs(), NeedMips16Helper); in getOpndList()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp128 unsigned HexagonTTIImpl::getCallInstrCost(Function *F, Type *RetTy, in getCallInstrCost() argument
130 return BaseT::getCallInstrCost(F, RetTy, Tys); in getCallInstrCost()
133 unsigned HexagonTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
135 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost()
138 unsigned HexagonTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
142 std::pair<int, MVT> LT = TLI.getTypeLegalizationCost(DL, RetTy); in getIntrinsicInstrCost()
145 return BaseT::getIntrinsicInstrCost(ID, RetTy, Tys, FMF, in getIntrinsicInstrCost()
DHexagonTargetTransformInfo.h107 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type*> Tys);
108 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
110 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h284 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
291 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
1003 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
1010 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
1015 int getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) const;
1188 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
1190 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
1350 virtual int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
1353 virtual int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
1355 virtual int getCallInstrCost(Function *F, Type *RetTy,
[all …]
DTargetTransformInfoImpl.h491 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
496 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
501 unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys) { in getCallInstrCost() argument
805 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument
849 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument
858 return static_cast<T *>(this)->getIntrinsicCost(IID, RetTy, ParamTys, U); in getIntrinsicCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp227 Type *RetTy = FTy->getReturnType(); in ffiInvoke() local
228 ffi_type *rtype = ffiTypeFor(RetTy); in ffiInvoke()
233 if (RetTy->getTypeID() != Type::VoidTyID) in ffiInvoke()
234 ret.resize(TD.getTypeStoreSize(RetTy)); in ffiInvoke()
236 switch (RetTy->getTypeID()) { in ffiInvoke()
238 switch (cast<IntegerType>(RetTy)->getBitWidth()) { in ffiInvoke()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp1122 static int getVectorIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy) { in getVectorIntrinsicInstrCost() argument
1123 if (RetTy->isVectorTy() && ID == Intrinsic::bswap) in getVectorIntrinsicInstrCost()
1124 return getNumVectorRegs(RetTy); // VPERM in getVectorIntrinsicInstrCost()
1128 int SystemZTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
1131 int Cost = getVectorIntrinsicInstrCost(ID, RetTy); in getIntrinsicInstrCost()
1134 return BaseT::getIntrinsicInstrCost(ID, RetTy, Args, FMF, VF); in getIntrinsicInstrCost()
1137 int SystemZTTIImpl::getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, in getIntrinsicInstrCost() argument
1141 int Cost = getVectorIntrinsicInstrCost(ID, RetTy); in getIntrinsicInstrCost()
1144 return BaseT::getIntrinsicInstrCost(ID, RetTy, Tys, in getIntrinsicInstrCost()
DSystemZTargetTransformInfo.h102 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
105 int getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInjectTLIMappings.cpp77 Type *RetTy = ToVectorTy(CI.getType(), VF); in addVariantDeclaration() local
83 FunctionType *FTy = FunctionType::get(RetTy, Tys, /*isVarArg=*/false); in addVariantDeclaration()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h111 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
113 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp337 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo()
893 Type *RetTy = ISP.getActualReturnType(); in LowerStatepoint() local
894 if (!RetTy->isVoidTy() && GCResult) { in LowerStatepoint()
904 unsigned Reg = FuncInfo.CreateRegs(RetTy); in LowerStatepoint()
906 DAG.getDataLayout(), Reg, RetTy, in LowerStatepoint()
980 Type *RetTy = in visitGCResult() local
982 SDValue CopyFromReg = getCopyFromRegs(I, RetTy); in visitGCResult()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp514 Type *RetTy = FTy->getReturnType(); in runFunction() local
524 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
568 switch (RetTy->getTypeID()) { in runFunction()
571 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth(); in runFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h147 int getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
150 int getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,

1234