HomeSort by relevance Sort by last modified time
    Searched defs:FTy (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/llvm/lib/ExecutionEngine/Orc/
OrcMCJITReplacement.cpp 33 FunctionType *FTy = F->getFunctionType();
34 Type *RetTy = FTy->getReturnType();
36 assert((FTy->getNumParams() == ArgValues.size() ||
37 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) &&
39 assert(FTy->getNumParams() == ArgValues.size() &&
47 if (FTy->getParamType(0)->isIntegerTy(32) &&
48 FTy->getParamType(1)->isPointerTy() &&
49 FTy->getParamType(2)->isPointerTy()) {
62 if (FTy->getParamType(0)->isIntegerTy(32) &
    [all...]
  /external/llvm/unittests/IR/
VerifierTest.cpp 27 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false);
28 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy));
50 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false);
51 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy));
68 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false);
69 Function *F1 = cast<Function>(M1.getOrInsertFunction("foo1", FTy));
70 Function *F2 = cast<Function>(M2.getOrInsertFunction("foo2", FTy));
71 Function *F3 = cast<Function>(M3.getOrInsertFunction("foo3", FTy));
IRBuilderTest.cpp 31 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx),
33 F = Function::Create(FTy, Function::ExternalLinkage, "", M.get());
  /frameworks/compile/libbcc/lib/Renderscript/
RSX86CallConvPass.cpp 113 llvm::FunctionType *FTy = OrigFn->getFunctionType();
114 std::vector<llvm::Type *> Params(FTy->param_begin(), FTy->param_end());
116 llvm::FunctionType *NewTy = llvm::FunctionType::get(FTy->getReturnType(),
118 FTy->isVarArg());
  /external/llvm/unittests/Analysis/
MixedTBAATest.cpp 36 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C),
38 auto *F = cast<Function>(M.getOrInsertFunction("f", FTy));
AliasAnalysisTest.cpp 171 FunctionType *FTy =
173 auto *F = cast<Function>(M.getOrInsertFunction("f", FTy));
ScalarEvolutionTest.cpp 51 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context),
53 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
103 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context), Types, false);
104 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
  /external/llvm/lib/CodeGen/
DwarfEHPrepare.cpp 208 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx),
211 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
  /external/llvm/lib/Transforms/Utils/
ValueMapper.cpp 467 FunctionType *FTy = CS.getFunctionType();
468 Tys.reserve(FTy->getNumParams());
469 for (Type *Ty : FTy->params())
472 TypeMapper->remapType(I->getType()), Tys, FTy->isVarArg()));
CloneFunction.cpp 236 FunctionType *FTy = FunctionType::get(F->getFunctionType()->getReturnType(),
240 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName());
    [all...]
  /external/clang/lib/CodeGen/
CGCXXABI.cpp 87 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(
89 return llvm::Constant::getNullValue(FTy->getPointerTo());
CodeGenTypes.cpp 598 const QualType FTy = cast<BlockPointerType>(Ty)->getPointeeType();
599 llvm::Type *PointeeType = ConvertTypeForMem(FTy);
600 unsigned AS = Context.getTargetAddressSpace(FTy);
CGDeclCXX.cpp 252 llvm::FunctionType *FTy, const Twine &Name, const CGFunctionInfo &FI,
255 llvm::Function::Create(FTy, llvm::GlobalValue::InternalLinkage,
312 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
321 CreateGlobalInitOrDestructFunction(FTy, FnName.str(),
397 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
422 FTy, "_GLOBAL__I_" + PrioritySuffix, FI);
452 FTy, llvm::Twine("_GLOBAL__sub_I_", FileName), FI);
464 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
469 CreateGlobalInitOrDestructFunction(FTy, "_GLOBAL__D_a", FI);
592 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI)
    [all...]
  /external/llvm/include/llvm/IR/
InlineAsm.h 47 FunctionType *FTy;
Statepoint.h 147 auto *FTy = cast<FunctionType>(
149 return FTy->getReturnType();
  /external/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 183 FunctionType *FTy = F->getFunctionType();
199 Type *ArgTy = FTy->getParamType(ArgNo);
211 Type *ArgTy = FTy->getParamType(ArgNo);
216 Type *RetTy = FTy->getReturnType();
  /external/llvm/unittests/Linker/
LinkModulesTest.cpp 31 FunctionType *FTy = FunctionType::get(
33 F = Function::Create(FTy, Function::ExternalLinkage, "ba_func", M.get());
136 FunctionType *FTy = FunctionType::get(
140 Function::Create(FTy, Function::ExternalLinkage, FuncName, M);
151 FunctionType *FTy = FunctionType::get(
155 Function::Create(FTy, Function::InternalLinkage, "bar", InternalM);
162 StructType *STy = StructType::create(Ctx, PointerType::get(FTy, 0));
  /external/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h 116 unsigned getCallCost(FunctionType *FTy, int NumArgs) {
117 assert(FTy && "FunctionType must be provided to this routine.");
126 NumArgs = FTy->getNumParams();
378 FunctionType *FTy = F->getFunctionType();
379 SmallVector<Type *, 8> ParamTys(FTy->param_begin(), FTy->param_end());
381 ->getIntrinsicCost(IID, FTy->getReturnType(), ParamTys);
481 Type *FTy = CS.getCalledValue()->getType()->getPointerElementType();
483 ->getCallCost(cast<FunctionType>(FTy), CS.arg_size());
  /external/llvm/lib/Analysis/
MemoryBuiltins.cpp 131 FunctionType *FTy = Callee->getFunctionType();
133 if (FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) &&
134 FTy->getNumParams() == FnData->NumParams &&
136 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
137 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
139 FTy->getParamType(SndParam)->isIntegerTy(32) ||
140 FTy->getParamType(SndParam)->isIntegerTy(64)))
346 FunctionType *FTy = Callee->getFunctionType();
347 if (!FTy->getReturnType()->isVoidTy()
    [all...]
  /external/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 484 FunctionType *FTy = F->getFunctionType();
485 Type *RetTy = FTy->getReturnType();
487 assert((FTy->getNumParams() == ArgValues.size() ||
488 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) &&
490 assert(FTy->getNumParams() == ArgValues.size() &&
498 if (FTy->getParamType(0)->isIntegerTy(32) &&
499 FTy->getParamType(1)->isPointerTy() &&
500 FTy->getParamType(2)->isPointerTy()) {
513 if (FTy->getParamType(0)->isIntegerTy(32) &
    [all...]
  /external/llvm/lib/IR/
ConstantsContext.h 405 FunctionType *FTy;
411 FunctionType *FTy, bool HasSideEffects, bool IsAlignStack,
413 : AsmString(AsmString), Constraints(Constraints), FTy(FTy),
418 FTy(Asm->getFunctionType()), HasSideEffects(Asm->hasSideEffects()),
425 FTy == X.FTy;
433 FTy == Asm->getFunctionType();
437 AsmDialect, FTy);
442 assert(PointerType::getUnqual(FTy) == Ty)
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUPromoteAlloca.cpp 57 FunctionType *FTy = F.getFunctionType();
65 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i) {
66 Type *ParamTy = FTy->getParamType(i);
321 FunctionType *FTy = FunctionType::get(
327 "llvm.r600.read.local.size.y", FTy, AttrSet);
329 "llvm.r600.read.local.size.z", FTy, AttrSet);
331 "llvm.r600.read.tidig.x", FTy, AttrSet);
333 "llvm.r600.read.tidig.y", FTy, AttrSet);
335 "llvm.r600.read.tidig.z", FTy, AttrSet);
  /external/llvm/lib/AsmParser/
LLParser.h 55 t_InlineAsm, // Value in FTy/StrVal/StrVal2/UIntVal.
62 FunctionType *FTy = nullptr;
71 : Kind(RHS.Kind), Loc(RHS.Loc), UIntVal(RHS.UIntVal), FTy(RHS.FTy),
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 613 FunctionType *FTy = F->getFunctionType();
721 AttributesVec.push_back(AttributeSet::get(FTy->getContext(),
724 Type *RetTy = FTy->getReturnType();
727 FunctionType *NFTy = FunctionType::get(RetTy, Params, FTy->isVarArg());
    [all...]
DeadArgumentElimination.cpp 222 FunctionType *FTy = Fn.getFunctionType();
224 std::vector<Type*> Params(FTy->param_begin(), FTy->param_end());
225 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(),
742 FunctionType *FTy = F->getFunctionType();
753 SmallVector<bool, 10> ArgAlive(FTy->getNumParams(), false);
782 Type *RetTy = FTy->getReturnType();
    [all...]

Completed in 335 milliseconds

1 2 3