Searched defs:RetTy (Results 1 - 25 of 45) sorted by relevance

12

/external/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h54 Type *RetTy; member in class:llvm::CodeExtractor
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp25 bool cocoa::isRefType(QualType RetTy, StringRef Prefix, argument
28 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) {
35 RetTy = TD->getDecl()->getUnderlyingType();
42 const PointerType* PT = RetTy->getAs<PointerType>();
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp30 Type *RetTy) {
35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false));
67 Type *RetTy) {
76 FunctionType::get(RetTy, ParamTys, false));
28 EnsureFunctionExists(Module &M, const char *Name, ArgIt ArgBegin, ArgIt ArgEnd, Type *RetTy) argument
65 ReplaceCallWith(const char *NewFn, CallInst *CI, ArgIt ArgBegin, ArgIt ArgEnd, Type *RetTy) argument
H A DJumpInstrTables.cpp204 Type *RetTy = VoidPtrTy; local
217 return FunctionType::get(RetTy, EmptyParams, false);
226 return FunctionType::get(RetTy, ParamTys, IsVarArg);
244 return FunctionType::get(RetTy, ParamTys, IsVarArg);
H A DBasicTargetTransformInfo.cpp117 unsigned getIntrinsicInstrCost(Intrinsic::ID, Type *RetTy,
532 unsigned BasicTTI::getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, argument
540 if (RetTy->isVectorTy()) {
541 ScalarizationCost = getScalarizationOverhead(RetTy, true, false);
542 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements());
547 ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements());
581 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(RetTy);
602 return TopTTI->getArithmeticInstrCost(BinaryOperator::FMul, RetTy) +
603 TopTTI->getArithmeticInstrCost(BinaryOperator::FAdd, RetTy);
608 if (RetTy
[all...]
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp69 Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const {
70 return PrevTTI->getIntrinsicCost(IID, RetTy, ParamTys);
74 Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const {
75 return PrevTTI->getIntrinsicCost(IID, RetTy, Arguments);
214 Type *RetTy,
216 return PrevTTI->getIntrinsicInstrCost(ID, RetTy, Tys);
379 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
403 getIntrinsicCost(Intrinsic::ID IID, Type *RetTy,
412 return TopTTI->getIntrinsicCost(IID, RetTy, ParamTys);
599 unsigned getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
68 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<Type *> ParamTys) const argument
73 getIntrinsicCost( Intrinsic::ID IID, Type *RetTy, ArrayRef<const Value *> Arguments) const argument
213 getIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy, ArrayRef<Type *> Tys) const argument
[all...]
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp218 Type *RetTy = FTy->getReturnType(); local
219 ffi_type *rtype = ffiTypeFor(RetTy);
223 if (RetTy->getTypeID() != Type::VoidTyID)
224 ret.resize(TD->getTypeStoreSize(RetTy));
226 switch (RetTy->getTypeID()) {
228 switch (cast<IntegerType>(RetTy)->getBitWidth()) {
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp439 Type *RetTy = FTy->getReturnType(); local
449 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
493 switch (RetTy->getTypeID()) {
496 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
/external/llvm/lib/IR/
H A DModule.cpp132 Type *RetTy, ...) {
134 va_start(Args, RetTy);
145 FunctionType::get(RetTy, ArgTys, false),
150 Type *RetTy, ...) {
152 va_start(Args, RetTy);
163 FunctionType::get(RetTy, ArgTys, false),
130 getOrInsertFunction(StringRef Name, AttributeSet AttributeList, Type *RetTy, ...) argument
149 getOrInsertFunction(StringRef Name, Type *RetTy, ...) argument
H A DType.cpp382 bool FunctionType::isValidReturnType(Type *RetTy) { argument
383 return !RetTy->isFunctionTy() && !RetTy->isLabelTy() &&
384 !RetTy->isMetadataTy();
H A DAsmWriter.cpp1933 Type *RetTy = FTy->getReturnType(); local
1945 (!RetTy->isPointerTy() ||
1946 !cast<PointerType>(RetTy)->getElementType()->isFunctionTy())) {
1947 TypePrinter.print(RetTy, Out);
1966 Type *RetTy = FTy->getReturnType(); local
1984 (!RetTy->isPointerTy() ||
1985 !cast<PointerType>(RetTy)->getElementType()->isFunctionTy())) {
1986 TypePrinter.print(RetTy, Out);
H A DInstructions.cpp180 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, argument
183 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) {
187 LandingPadInst::LandingPadInst(Type *RetTy, Value *PersonalityFn, argument
190 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertAtEnd) {
209 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, argument
213 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr,
217 LandingPadInst *LandingPadInst::Create(Type *RetTy, Value *PersonalityFn, argument
221 return new LandingPadInst(RetTy, PersonalityFn, NumReservedClauses, NameStr,
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp537 QualType RetTy = Msg.getResultType(); local
538 CanQualType CanRetTy = Ctx.getCanonicalType(RetTy);
543 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
581 SVal V = C.getSValBuilder().makeZeroVal(RetTy);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp1053 Type *RetTy = Node->getValueType(0).getTypeForEVT(*DAG.getContext()); local
1057 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Callee, std::move(Args), 0)
H A DLegalizeIntegerTypes.cpp2307 Type *RetTy = VT.getTypeForEVT(*DAG.getContext()); local
2350 .setCallee(TLI.getLibcallCallingConv(LC), RetTy, Func, std::move(Args), 0)
H A DTargetLowering.cpp105 Type *RetTy = RetVT.getTypeForEVT(*DAG.getContext()); local
108 .setCallee(getLibcallCallingConv(LC), RetTy, Callee, std::move(Args), 0) local
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp244 Type *RetTy = FTy->getReturnType(); local
254 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
303 switch (RetTy->getTypeID()) {
306 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
345 FunctionType *STy=FunctionType::get(RetTy, false);
/external/llvm/lib/Target/Mips/
H A DMips16ISelLowering.cpp373 (Type* RetTy, ArgListTy &Args, bool &needHelper) const {
383 if (RetTy->isFloatTy()) {
386 else if (RetTy ->isDoubleTy()) {
389 else if (RetTy->isStructTy()) {
391 if (RetTy->getNumContainedTypes() == 2) {
392 if ((RetTy->getContainedType(0)->isFloatTy()) &&
393 (RetTy->getContainedType(1)->isFloatTy())) {
396 else if ((RetTy->getContainedType(0)->isDoubleTy()) &&
397 (RetTy->getContainedType(1)->isDoubleTy())) {
490 getMips16HelperFunction(CLI.RetTy, CL
372 getMips16HelperFunction(Type* RetTy, ArgListTy &Args, bool &needHelper) const argument
[all...]
/external/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp607 Type *RetTy = FTy->getReturnType(); local
610 FunctionType *NFTy = FunctionType::get(RetTy, Params, FTy->isVarArg());
H A DDeadArgumentElimination.cpp737 Type *RetTy = FTy->getReturnType(); local
764 if (RetTy->isVoidTy() || HasLiveReturnedArg) {
765 NRetTy = RetTy;
767 StructType *STy = dyn_cast<StructType>(RetTy);
784 RetTypes.push_back(RetTy);
899 if (NRetTy != RetTy && B.contains(Attribute::Returned))
951 assert(RetTy->isStructTy() &&
966 Value *RetVal = UndefValue::get(RetTy);
1026 assert (RetTy->isStructTy());
/external/clang/lib/CodeGen/
H A DCGAtomic.cpp618 QualType RetTy; local
633 RetTy = getContext().BoolTy;
657 RetTy = getContext().VoidTy;
714 RetTy = MemTy;
717 RetTy = getContext().VoidTy;
727 CGM.getTypes().arrangeFreeFunctionCall(RetTy, Args,
732 if (!RetTy->isVoidType())
H A DCodeGenFunction.cpp522 QualType RetTy,
533 FnRetTy = RetTy;
600 getContext().getFunctionType(RetTy, ArgTypes,
611 if (RetTy->isVoidType()) {
635 ReturnValue = CreateIRTemp(RetTy, "retval");
642 RetTy->isObjCRetainableType())
521 StartFunction(GlobalDecl GD, QualType RetTy, llvm::Function *Fn, const CGFunctionInfo &FnInfo, const FunctionArgList &Args, SourceLocation Loc, SourceLocation StartLoc) argument
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp968 Type *RetTy = FlushF->getReturnType(); local
969 if (RetTy == Type::getVoidTy(*Ctx))
971 else if (RetTy->isIntegerTy())
973 Builder.CreateRet(ConstantInt::get(RetTy, 0));
/external/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1334 Type *RetTy = I->getType(); local
1335 if (RetTy->isVoidTy())
1337 else if (!isTypeLegal(RetTy, RetVT))
/external/llvm/lib/Target/ARM/
H A DARMFastISel.cpp1597 Type *RetTy = I->getType(); local
1598 if (!isTypeLegal(RetTy, DstVT))
2185 Type *RetTy = I->getType(); local
2187 if (RetTy->isVoidTy())
2189 else if (!isTypeLegal(RetTy, RetVT))
2294 Type *RetTy = I->getType(); local
2296 if (RetTy->isVoidTy())
2298 else if (!isTypeLegal(RetTy, RetVT) && RetVT != MVT::i16 &&

Completed in 735 milliseconds

12