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

1 2 3

  /external/llvm/unittests/IR/
VerifierTest.cpp 27 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false);
28 OwningPtr<Function> F(Function::Create(FTy, GlobalValue::ExternalLinkage));
IRBuilderTest.cpp 29 FunctionType *FTy = FunctionType::get(Type::getVoidTy(getGlobalContext()),
31 F = Function::Create(FTy, Function::ExternalLinkage, "", M.get());
  /external/llvm/unittests/ExecutionEngine/JIT/
JITMemoryManagerTest.cpp 25 FunctionType *FTy =
27 return Function::Create(FTy, GlobalValue::ExternalLinkage);
  /external/clang/lib/CodeGen/
CGCXXABI.cpp 52 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(
54 return llvm::Constant::getNullValue(FTy->getPointerTo());
CGDeclCXX.cpp 226 llvm::FunctionType *FTy,
229 llvm::Function::Create(FTy, llvm::GlobalValue::InternalLinkage,
257 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
261 CreateGlobalInitOrDestructFunction(*this, FTy, "__cxx_global_var_init");
292 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
317 CreateGlobalInitOrDestructFunction(*this, FTy,
331 CreateGlobalInitOrDestructFunction(*this, FTy, "_GLOBAL__I_a");
346 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
350 CreateGlobalInitOrDestructFunction(*this, FTy, "_GLOBAL__D_a");
448 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI)
    [all...]
CodeGenTypes.cpp 571 const QualType FTy = cast<BlockPointerType>(Ty)->getPointeeType();
572 llvm::Type *PointeeType = ConvertTypeForMem(FTy);
573 unsigned AS = Context.getTargetAddressSpace(FTy);
CGAtomic.cpp 504 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FuncInfo);
505 llvm::Constant *Func = CGM.CreateRuntimeFunction(FTy, LibCallName);
    [all...]
CGStmt.cpp     [all...]
CodeGenFunction.cpp 278 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
280 llvm::Constant *MCountFn = CGM.CreateRuntimeFunction(FTy,
    [all...]
ItaniumCXXABI.cpp 253 llvm::FunctionType *FTy =
307 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo());
315 Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn");
319 llvm::PHINode *Callee = Builder.CreatePHI(FTy->getPointerTo(), 2);
    [all...]
  /external/llvm/lib/CodeGen/
DwarfEHPrepare.cpp 127 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx),
130 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
  /external/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 190 FunctionType *FTy = F->getFunctionType();
191 Type *RetTy = FTy->getReturnType();
193 assert((FTy->getNumParams() == ArgValues.size() ||
194 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) &&
196 assert(FTy->getNumParams() == ArgValues.size() &&
204 if (FTy->getParamType(0)->isIntegerTy(32) &&
205 FTy->getParamType(1)->isPointerTy() &&
206 FTy->getParamType(2)->isPointerTy()) {
219 if (FTy->getParamType(0)->isIntegerTy(32) &
    [all...]
  /external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp 251 FunctionType *FTy = F.getFunctionType();
257 if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
264 if (FTy->getNumParams() != 2 ||
265 !FTy->getParamType(0)->isPointerTy() ||
266 !FTy->getParamType(1)->isIntegerTy())
283 if (FTy->getNumParams() < 2 ||
284 !FTy->getParamType(1)->isPointerTy())
289 if (FTy->getNumParams() != 3 ||
290 !FTy->getParamType(0)->isPointerTy() |
    [all...]
  /external/llvm/unittests/Analysis/
ScalarEvolutionTest.cpp 40 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context),
42 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
94 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context), Types, false);
95 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
  /external/llvm/lib/Analysis/
TargetTransformInfo.cpp 62 unsigned TargetTransformInfo::getCallCost(FunctionType *FTy,
64 return PrevTTI->getCallCost(FTy, NumArgs);
294 unsigned getCallCost(FunctionType *FTy, int NumArgs = -1) const {
295 assert(FTy && "FunctionType must be provided to this routine.");
304 NumArgs = FTy->getNumParams();
318 FunctionType *FTy = F->getFunctionType();
319 SmallVector<Type *, 8> ParamTys(FTy->param_begin(), FTy->param_end());
320 return TopTTI->getIntrinsicCost(IID, FTy->getReturnType(), ParamTys);
385 Type *FTy = CS.getCalledValue()->getType()->getPointerElementType()
    [all...]
MemoryBuiltins.cpp 123 FunctionType *FTy = Callee->getFunctionType();
125 if (FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) &&
126 FTy->getNumParams() == FnData->NumParams &&
128 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
129 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
131 FTy->getParamType(SndParam)->isIntegerTy(32) ||
132 FTy->getParamType(SndParam)->isIntegerTy(64)))
326 FunctionType *FTy = Callee->getFunctionType();
327 if (!FTy->getReturnType()->isVoidTy()
    [all...]
InstructionSimplify.cpp     [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 185 FunctionType *FTy = F->getFunctionType();
201 Type *ArgTy = FTy->getParamType(ArgNo);
213 Type *ArgTy = FTy->getParamType(ArgNo);
218 Type *RetTy = FTy->getReturnType();
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCContract.cpp 149 FunctionType *FTy = FunctionType::get(I8X, Params, /*isVarArg=*/false);
154 M->getOrInsertFunction("objc_retainAutorelease", FTy, Attribute);
164 FunctionType *FTy = FunctionType::get(I8X, Params, /*isVarArg=*/false);
169 M->getOrInsertFunction("objc_retainAutoreleaseReturnValue", FTy,
  /external/llvm/lib/Transforms/Utils/
CloneFunction.cpp 175 FunctionType *FTy = FunctionType::get(F->getFunctionType()->getReturnType(),
179 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName());
  /external/llvm/lib/Transforms/IPO/
ArgumentPromotion.cpp 495 FunctionType *FTy = F->getFunctionType();
597 AttributesVec.push_back(AttributeSet::get(FTy->getContext(),
600 Type *RetTy = FTy->getReturnType();
603 FunctionType *NFTy = FunctionType::get(RetTy, Params, FTy->isVarArg());
    [all...]
DeadArgumentElimination.cpp 249 FunctionType *FTy = Fn.getFunctionType();
251 std::vector<Type*> Params(FTy->param_begin(), FTy->param_end());
252 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(),
695 FunctionType *FTy = F->getFunctionType();
703 Type *RetTy = FTy->getReturnType();
781 SmallVector<bool, 10> ArgAlive(FTy->getNumParams(), false);
815 FunctionType *NFTy = FunctionType::get(NRetTy, Params, FTy->isVarArg());
818 if (NFTy == FTy)
    [all...]
MergeFunctions.cpp 79 FunctionType *FTy = F->getFunctionType();
85 ID.AddBoolean(FTy->isVarArg());
86 ID.AddInteger(FTy->getReturnType()->getTypeID());
87 for (unsigned i = 0, e = FTy->getNumParams(); i != e; ++i)
88 ID.AddInteger(FTy->getParamType(i)->getTypeID());
  /external/llvm/lib/ExecutionEngine/
ExecutionEngine.cpp 362 FunctionType *FTy = Fn->getFunctionType();
368 if (NumArgs >= 3 && FTy->getParamType(2) != PPInt8Ty)
370 if (NumArgs >= 2 && FTy->getParamType(1) != PPInt8Ty)
372 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32))
374 if (!FTy->getReturnType()->isIntegerTy() &&
375 !FTy->getReturnType()->isVoidTy())
    [all...]
  /external/llvm/lib/ExecutionEngine/JIT/
JIT.cpp 395 FunctionType *FTy = F->getFunctionType();
396 Type *RetTy = FTy->getReturnType();
398 assert((FTy->getNumParams() == ArgValues.size() ||
399 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) &&
401 assert(FTy->getNumParams() == ArgValues.size() &&
409 if (FTy->getParamType(0)->isIntegerTy(32) &&
410 FTy->getParamType(1)->isPointerTy() &&
411 FTy->getParamType(2)->isPointerTy()) {
424 if (FTy->getParamType(0)->isIntegerTy(32) &
    [all...]

Completed in 879 milliseconds

1 2 3