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

1 2 3

  /external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp     [all...]
  /external/llvm/lib/Analysis/
MemoryBuiltins.cpp 50 FunctionType *FTy = Callee->getFunctionType();
51 return FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) &&
52 FTy->getNumParams() == 1 &&
53 (FTy->getParamType(0)->isIntegerTy(32) ||
54 FTy->getParamType(0)->isIntegerTy(64));
204 FunctionType *FTy = Callee->getFunctionType();
205 if (!FTy->getReturnType()->isVoidTy())
207 if (FTy->getNumParams() != 1)
209 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())
    [all...]
  /external/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 125 FunctionType *FTy = F->getFunctionType();
126 Type *RetTy = FTy->getReturnType();
128 assert((FTy->getNumParams() == ArgValues.size() ||
129 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) &&
131 assert(FTy->getNumParams() == ArgValues.size() &&
139 if (FTy->getParamType(0)->isIntegerTy(32) &&
140 FTy->getParamType(1)->isPointerTy() &&
141 FTy->getParamType(2)->isPointerTy()) {
154 if (FTy->getParamType(0)->isIntegerTy(32) &
    [all...]
  /external/llvm/unittests/VMCore/
VerifierTest.cpp 27 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false);
28 OwningPtr<Function> F(Function::Create(FTy, GlobalValue::ExternalLinkage));
  /external/llvm/unittests/Support/
IRBuilderTest.cpp 27 FunctionType *FTy = FunctionType::get(Type::getVoidTy(getGlobalContext()),
29 Function *F = Function::Create(FTy, Function::ExternalLinkage, "", M.get());
  /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...]
  /external/clang/lib/CodeGen/
CGException.cpp 28 llvm::FunctionType *FTy =
31 return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_allocate_exception");
37 llvm::FunctionType *FTy =
40 return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_free_exception");
48 llvm::FunctionType *FTy =
51 return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_throw");
57 llvm::FunctionType *FTy =
60 return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_rethrow");
66 llvm::FunctionType *FTy =
69 return CGF.CGM.CreateRuntimeFunction(FTy, "__cxa_get_exception_ptr")
    [all...]
CGDeclCXX.cpp 270 llvm::FunctionType *FTy,
273 llvm::Function::Create(FTy, llvm::GlobalValue::InternalLinkage,
292 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
296 CreateGlobalInitOrDestructFunction(*this, FTy, "__cxx_global_var_init");
328 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
332 CreateGlobalInitOrDestructFunction(*this, FTy, "_GLOBAL__I_a");
360 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
364 CreateGlobalInitOrDestructFunction(*this, FTy, "_GLOBAL__D_a");
452 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI);
454 CreateGlobalInitOrDestructFunction(CGM, FTy, "__cxx_global_array_dtor")
    [all...]
CGCXXABI.cpp 52 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(
54 return llvm::Constant::getNullValue(FTy->getPointerTo());
ItaniumCXXABI.cpp 220 llvm::FunctionType *FTy =
274 VTable = Builder.CreateBitCast(VTable, FTy->getPointerTo()->getPointerTo());
282 Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn");
286 llvm::PHINode *Callee = Builder.CreatePHI(FTy->getPointerTo(), 2);
    [all...]
CGObjCMac.cpp 243 llvm::FunctionType *FTy =
247 return CGM.CreateRuntimeFunction(FTy, "objc_getProperty");
263 llvm::FunctionType *FTy =
267 return CGM.CreateRuntimeFunction(FTy, "objc_setProperty");
289 llvm::FunctionType *FTy =
303 return CGM.CreateRuntimeFunction(FTy, name);
316 llvm::FunctionType *FTy =
320 return CGM.CreateRuntimeFunction(FTy, "objc_copyStruct");
335 llvm::FunctionType *FTy =
339 return CGM.CreateRuntimeFunction(FTy, "objc_copyCppObjectAtomic")
    [all...]
CodeGenTypes.cpp 545 const QualType FTy = cast<BlockPointerType>(Ty)->getPointeeType();
546 llvm::Type *PointeeType = ConvertTypeForMem(FTy);
547 unsigned AS = Context.getTargetAddressSpace(FTy);
  /external/llvm/lib/CodeGen/
DwarfEHPrepare.cpp 127 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx),
130 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
  /external/llvm/lib/Transforms/IPO/
DeadArgumentElimination.cpp 209 FunctionType *FTy = Fn.getFunctionType();
211 std::vector<Type*> Params(FTy->param_begin(), FTy->param_end());
212 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(),
649 FunctionType *FTy = F->getFunctionType();
662 Type *RetTy = FTy->getReturnType();
729 SmallVector<bool, 10> ArgAlive(FTy->getNumParams(), false);
760 FunctionType *NFTy = FunctionType::get(NRetTy, Params, FTy->isVarArg());
763 if (NFTy == FTy)
800 for (unsigned e = FTy->getNumParams(); i != e; ++I, ++i
    [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/Transforms/Instrumentation/
GCOVProfiling.cpp 571 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx),
573 return M->getOrInsertFunction("llvm_gcda_start_file", FTy);
581 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx),
583 return M->getOrInsertFunction("llvm_gcda_increment_indirect_counter", FTy);
591 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx),
593 return M->getOrInsertFunction("llvm_gcda_emit_function", FTy);
601 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx),
603 return M->getOrInsertFunction("llvm_gcda_emit_arcs", FTy);
607 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false);
608 return M->getOrInsertFunction("llvm_gcda_end_file", FTy);
    [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/VMCore/
Verifier.cpp     [all...]
AsmWriter.cpp 205 FunctionType *FTy = cast<FunctionType>(Ty);
206 print(FTy->getReturnType(), OS);
208 for (FunctionType::param_iterator I = FTy->param_begin(),
209 E = FTy->param_end(); I != E; ++I) {
210 if (I != FTy->param_begin())
214 if (FTy->isVarArg()) {
215 if (FTy->getNumParams()) OS << ", ";
    [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/Transforms/InstCombine/
InstCombineCalls.cpp     [all...]
  /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/unittests/ExecutionEngine/JIT/
JITMemoryManagerTest.cpp 25 FunctionType *FTy =
27 return Function::Create(FTy, GlobalValue::ExternalLinkage);
  /external/llvm/lib/Bitcode/Reader/
BitcodeReader.cpp     [all...]
  /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
BitcodeReader.cpp     [all...]

Completed in 1517 milliseconds

1 2 3