HomeSort by: relevance | last modified time | path
    Searched refs:FTy (Results 1 - 25 of 81) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
TargetLibraryInfo.cpp 704 bool TargetLibraryInfoImpl::isValidProtoForLibFunc(const FunctionType &FTy,
707 LLVMContext &Ctx = FTy.getContext();
712 unsigned NumParams = FTy.getNumParams();
718 return (NumParams >= 2 && FTy.getParamType(0)->isPointerTy() &&
719 FTy.getParamType(1)->isPointerTy() &&
720 FTy.getReturnType()->isIntegerTy(32));
723 return (NumParams == 2 && FTy.getParamType(0)->isPointerTy() &&
724 FTy.getParamType(1)->isPointerTy() &&
725 FTy.getReturnType()->isIntegerTy(32));
729 return (NumParams == 3 && FTy.getParamType(0)->isPointerTy() &
    [all...]
MemoryBuiltins.cpp 164 FunctionType *FTy = Callee->getFunctionType();
166 if (FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) &&
167 FTy->getNumParams() == FnData->NumParams &&
169 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
170 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
172 FTy->getParamType(SndParam)->isIntegerTy(32) ||
173 FTy->getParamType(SndParam)->isIntegerTy(64)))
474 FunctionType *FTy = F->getFunctionType();
475 if (!FTy->getReturnType()->isVoidTy()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
InlineAsm.cpp 30 InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString,
33 : Value(PointerType::getUnqual(FTy), Value::InlineAsmVal),
34 AsmString(asmString), Constraints(constraints), FTy(FTy),
42 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString,
46 InlineAsmKeyType Key(AsmString, Constraints, FTy, hasSideEffects,
48 LLVMContextImpl *pImpl = FTy->getContext().pImpl;
49 return pImpl->InlineAsms.getOrCreate(PointerType::getUnqual(FTy), Key);
58 return FTy;
ConstantsContext.h 462 FunctionType *FTy;
469 FunctionType *FTy, bool HasSideEffects, bool IsAlignStack,
471 : AsmString(AsmString), Constraints(Constraints), FTy(FTy),
477 FTy(Asm->getFunctionType()), HasSideEffects(Asm->hasSideEffects()),
485 FTy == X.FTy && CanThrow == X.CanThrow;
494 FTy == Asm->getFunctionType() && CanThrow == Asm->canThrow();
499 AsmDialect, FTy, CanThrow);
505 assert(PointerType::getUnqual(FTy) == Ty)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
AutoInitRemark.h 56 template <typename FTy>
57 void inspectCallee(FTy F, bool KnownLibCall, OptimizationRemarkMissed &R);
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 519 FunctionType *FTy = F->getFunctionType();
520 Type *RetTy = FTy->getReturnType();
522 assert((FTy->getNumParams() == ArgValues.size() ||
523 (FTy->isVarArg() && FTy->getNumParams() <= ArgValues.size())) &&
525 assert(FTy->getNumParams() == ArgValues.size() &&
533 if (FTy->getParamType(0)->isIntegerTy(32) &&
534 FTy->getParamType(1)->isPointerTy() &&
535 FTy->getParamType(2)->isPointerTy()) {
548 if (FTy->getParamType(0)->isIntegerTy(32) &
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
ExtractGV.cpp 137 if (FunctionType *FTy = dyn_cast<FunctionType>(Ty)) {
138 Declaration = Function::Create(FTy, GlobalValue::ExternalLinkage,
DeadArgumentElimination.cpp 160 FunctionType *FTy = Fn.getFunctionType();
162 std::vector<Type *> Params(FTy->param_begin(), FTy->param_end());
163 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(),
742 FunctionType *FTy = F->getFunctionType();
753 SmallVector<bool, 10> ArgAlive(FTy->getNumParams(), false);
775 Type *RetTy = FTy->getReturnType();
864 FunctionType *NFTy = FunctionType::get(NRetTy, Params, FTy->isVarArg());
867 if (NFTy == FTy)
901 for (unsigned E = FTy->getNumParams(); Pi != E; ++I, ++Pi
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
ObjCARC.cpp 50 FunctionType *FTy = Func.getFunctionType();
62 return CallInst::Create(FTy, Callee, Args, OpBundles, NameStr, InsertBefore);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroInternal.h 225 auto FTy = CoroBegin->getFunction()->getFunctionType();
228 if (auto STy = dyn_cast<StructType>(FTy->getReturnType())) {
240 auto FTy = RetconLowering.ResumePrototype->getFunctionType();
241 return FTy->params().slice(1);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCall.h 88 llvm::FunctionType *FTy;
146 llvm::FunctionType *FTy) {
151 result.VirtualInfo.FTy = FTy;
211 return VirtualInfo.FTy;
CGDeclCXX.cpp 372 llvm::FunctionType *FTy, const Twine &Name, const CGFunctionInfo &FI,
375 FTy, llvm::GlobalValue::InternalLinkage, Name, &getModule());
475 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
484 FTy, FnName.str(), getTypes().arrangeNullaryFunction(), D->getLocation());
589 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
610 FTy, "_GLOBAL__I_" + getPrioritySuffix(Priority), FI);
628 FTy, llvm::Twine("_GLOBAL__sub_I_", getTransformedFileName(getModule())),
662 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
684 FTy, "_GLOBAL__a_" + getPrioritySuffix(Priority), FI);
704 CreateGlobalInitOrCleanUpFunction(FTy, "_GLOBAL__D_a", FI)
    [all...]
ItaniumCXXABI.cpp 633 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(
735 VirtualFn = Builder.CreateBitCast(VirtualFn, FTy->getPointerTo(),
752 VirtualFn = CGF.Builder.CreateBitCast(VirtualFn, FTy->getPointerTo());
756 VFPAddr, FTy->getPointerTo()->getPointerTo());
758 FTy->getPointerTo(), VFPAddr, CGF.getPointerAlign(),
800 Builder.CreateIntToPtr(FnAsInt, FTy->getPointerTo(), "memptr.nonvirtualfn");
841 llvm::PHINode *CalleePtr = Builder.CreatePHI(FTy->getPointerTo(), 2);
1284 llvm::FunctionType *FTy =
1287 llvm::FunctionCallee Fn = CGM.CreateRuntimeFunction(FTy, "__cxa_rethrow");
1298 llvm::FunctionType *FTy
    [all...]
CGCXXABI.cpp 52 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(
54 llvm::Constant *FnPtr = llvm::Constant::getNullValue(FTy->getPointerTo());
CGCleanup.cpp 1334 llvm::FunctionType *FTy =
1337 CGM.CreateRuntimeFunction(FTy, "llvm.seh.scope.begin");
1345 llvm::FunctionType *FTy =
1348 CGM.CreateRuntimeFunction(FTy, "llvm.seh.scope.end");
1355 llvm::FunctionType *FTy =
1358 CGM.CreateRuntimeFunction(FTy, "llvm.seh.try.begin");
1365 llvm::FunctionType *FTy =
1368 CGM.CreateRuntimeFunction(FTy, "llvm.seh.try.end");
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 128 Function *createInternalFunction(FunctionType *FTy, StringRef Name);
711 FunctionType *FTy = FunctionType::get(Builder.getInt32Ty(), {}, false);
712 FunctionCallee GCOVFork = M->getOrInsertFunction("__gcov_fork", FTy);
737 FunctionType *FTy = FunctionType::get(Builder.getVoidTy(), {}, false);
739 M->getOrInsertFunction("llvm_writeout_files", FTy);
746 FunctionCallee ResetF = M->getOrInsertFunction("llvm_reset_counters", FTy);
1027 Function *GCOVProfiler::createInternalFunction(FunctionType *FTy,
1030 FTy, GlobalValue::InternalLinkage, 0, Name, M);
1046 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false);
1047 Function *F = createInternalFunction(FTy, "__llvm_gcov_init")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyLowerEmscriptenEHSjLj.cpp 322 static std::string getSignature(FunctionType *FTy) {
325 OS << *FTy->getReturnType();
326 for (Type *ParamTy : FTy->params())
328 if (FTy->isVarArg())
390 FunctionType *FTy = FunctionType::get(Int8PtrTy, Args, false);
392 FTy, "__cxa_find_matching_catch_" + Twine(NumClauses + 2), &M);
490 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys,
492 Function *F = getEmscriptenFunction(FTy, "__invoke_" + Sig, M);
741 FunctionType *FTy = FunctionType::get(
743 EmLongjmpF = getEmscriptenFunction(FTy, "emscripten_longjmp", &M)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
InjectTLIMappings.cpp 54 FunctionType *FTy = FunctionType::get(RetTy, Tys, /*isVarArg=*/false);
56 Function::Create(FTy, Function::ExternalLinkage, VFName, M);
AutoInitRemark.cpp 119 template <typename FTy>
120 void AutoInitRemark::inspectCallee(FTy F, bool KnownLibCall,
Evaluator.cpp 284 auto *FTy = F->getFunctionType();
285 if (FTy->getNumParams() > CB.getNumArgOperands()) {
291 for (auto ParI = FTy->param_begin(), ParE = FTy->param_end(); ParI != ParE;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPULowerModuleLDSPass.cpp 119 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx), {});
127 Builder.CreateCall(FTy, Decl, {},
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
InstrTypes.h 1179 FunctionType *FTy;
1183 : Instruction(std::forward<ArgsTy>(Args)...), Attrs(A), FTy(FT) {}
1244 FunctionType *getFunctionType() const { return FTy; }
1246 void mutateFunctionType(FunctionType *FTy) {
1247 Value::mutateType(FTy->getReturnType());
1248 this->FTy = FTy;
1443 void setCalledFunction(FunctionType *FTy, Value *Fn) {
1444 this->FTy = FTy;
    [all...]
Intrinsics.h 227 matchIntrinsicSignature(FunctionType *FTy, ArrayRef<IITDescriptor> &Infos,
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 194 FunctionType *FTy = F->getFunctionType();
210 Type *ArgTy = FTy->getParamType(ArgNo);
222 Type *ArgTy = FTy->getParamType(ArgNo);
227 Type *RetTy = FTy->getReturnType();
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
DwarfEHPrepare.cpp 193 FunctionType *FTy =
196 RewindFunction = F.getParent()->getOrInsertFunction(RewindName, FTy);

Completed in 62 milliseconds

1 2 3 4