Searched refs:retTy (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 901 const DataLayout &DL, Type *retTy, const ArgListTy &Args, in getPrototype() argument 914 if (retTy->getTypeID() == Type::VoidTyID) { in getPrototype() 918 if (retTy->isFloatingPointTy() || retTy->isIntegerTy()) { in getPrototype() 920 if (auto *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() 925 assert(retTy->isFloatingPointTy() && in getPrototype() 927 size = retTy->getPrimitiveSizeInBits(); in getPrototype() 931 } else if (isa<PointerType>(retTy)) { in getPrototype() 933 } else if ((retTy->getTypeID() == Type::StructTyID) || in getPrototype() 934 isa<VectorType>(retTy)) { in getPrototype() 937 << DL.getTypeAllocSize(retTy) << "]"; in getPrototype() [all …]
|
/external/clang/utils/ABITest/ |
D | TypeGen.py | 402 retTy = self.typeGen.get(retIndex) 404 retTy = None 407 return FunctionType(N, retTy, args)
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 1240 const DataLayout &DL, Type *retTy, const ArgListTy &Args, in getPrototype() argument 1253 if (retTy->getTypeID() == Type::VoidTyID) { in getPrototype() 1257 if (retTy->isFloatingPointTy() || (retTy->isIntegerTy() && !retTy->isIntegerTy(128))) { in getPrototype() 1259 if (auto *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype() 1262 assert(retTy->isFloatingPointTy() && in getPrototype() 1264 size = retTy->getPrimitiveSizeInBits(); in getPrototype() 1273 } else if (isa<PointerType>(retTy)) { in getPrototype() 1275 } else if (retTy->isAggregateType() || retTy->isVectorTy() || retTy->isIntegerTy(128)) { in getPrototype() 1278 << DL.getTypeAllocSize(retTy) << "]"; in getPrototype()
|
/external/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 148 Ice::Variable *Call(Ice::Cfg *function, Ice::CfgNode *basicBlock, Ice::Type retTy, void const *fptr… in Call() argument 151 if(retTy == Ice::IceType_i1) in Call() 153 retTy = Ice::IceType_i32; in Call() 157 if(retTy != Ice::IceType_void) in Call() 159 ret = function->makeVariable(retTy); in Call() 176 Ice::Type retTy = T(rr::CToReactorT<Return>::getType()); in Call() local 178 return Call(function, basicBlock, retTy, reinterpret_cast<void const *>(fptr), iceArgs, false); in Call() 4116 Value *Call(RValue<Pointer<Byte>> fptr, Type *retTy, std::initializer_list<Value *> args, std::init… in Call() argument 4120 if(retTy != nullptr) in Call() 4122 ret = ::function->makeVariable(T(retTy)); in Call()
|
D | LLVMReactor.cpp | 317 llvm::Value *lowerSignMask(llvm::Value *x, llvm::Type *retTy) in lowerSignMask() argument 324 jit->builder->CreateExtractElement(cmp, static_cast<uint64_t>(0)), retTy); in lowerSignMask() 328 jit->builder->CreateExtractElement(cmp, i), retTy); in lowerSignMask() 334 llvm::Value *lowerFPSignMask(llvm::Value *x, llvm::Type *retTy) in lowerFPSignMask() argument 341 jit->builder->CreateExtractElement(cmp, static_cast<uint64_t>(0)), retTy); in lowerFPSignMask() 345 jit->builder->CreateExtractElement(cmp, i), retTy); in lowerFPSignMask() 591 static ::llvm::Function *createFunction(const char *name, ::llvm::Type *retTy, const std::vector<::… in createFunction() argument 593 llvm::FunctionType *functionType = llvm::FunctionType::get(retTy, params, false); in createFunction() 3403 Value *Call(RValue<Pointer<Byte>> fptr, Type *retTy, std::initializer_list<Value *> args, std::init… in Call() argument 3408 auto funcTy = ::llvm::FunctionType::get(T(retTy), paramTys, false); in Call()
|
D | Reactor.hpp | 3260 Value *Call(RValue<Pointer<Byte>> fptr, Type *retTy, std::initializer_list<Value *> args, std::init…
|
/external/clang/lib/CodeGen/ |
D | CGObjC.cpp | 913 llvm::Type *retTy = ConvertType(getterMethod->getReturnType()); in generateObjCGetterBody() local 914 uint64_t retTySize = CGM.getDataLayout().getTypeSizeInBits(retTy); in generateObjCGetterBody()
|