Home
last modified time | relevance | path

Searched refs:getDeclaration (Results 1 – 25 of 25) sorted by relevance

/external/llvm/lib/VMCore/
DIRBuilder.cpp70 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet()
90 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy()
110 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove()
132 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_start); in CreateLifetimeStart()
147 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_end); in CreateLifetimeEnd()
DFunction.cpp386 Function *Intrinsic::getDeclaration(Module *M, ID id, ArrayRef<Type*> Tys) { in getDeclaration() function in Intrinsic
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp109 FrameAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::frameaddress); in doInitialization()
110 StackAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::stacksave); in doInitialization()
111 StackRestoreFn = Intrinsic::getDeclaration(&M, Intrinsic::stackrestore); in doInitialization()
112 BuiltinSetjmpFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_setjmp); in doInitialization()
113 LSDAAddrFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_lsda); in doInitialization()
114 SelectorFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_selector); in doInitialization()
115 ExceptionFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_exception); in doInitialization()
116 CallSiteFn = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_callsite); in doInitialization()
118 = Intrinsic::getDeclaration(&M, Intrinsic::eh_sjlj_dispatch_setup); in doInitialization()
447 CallInst::Create(Intrinsic::getDeclaration(F.getParent(), Intrinsic::trap), in insertSjLjEHSupport()
DDwarfEHPrepare.cpp178 Intrinsic::getDeclaration(F->getParent(), Intrinsic::eh_selector); in CleanupSelectors()
245 Intrinsic::getDeclaration(F->getParent(), Intrinsic::eh_selector); in HandleURoRInvokes()
283 Intrinsic::getDeclaration(F->getParent(), Intrinsic::eh_exception); in HandleURoRInvokes()
654 ExceptionValueIntrinsic = Intrinsic::getDeclaration(F->getParent(), in CreateExceptionValueCall()
DStackProtector.cpp188 Create(Intrinsic::getDeclaration(M, Intrinsic::stackprotector), in InsertStackProtectors()
DIntrinsicLowering.cpp562 Constant *Int = Intrinsic::getDeclaration(M, Intrinsic::bswap, Ty); in LowerToByteSwap()
/external/llvm/lib/Target/Blackfin/
DBlackfinIntrinsicInfo.h26 Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
DBlackfinIntrinsicInfo.cpp96 Function *BlackfinIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() function in BlackfinIntrinsicInfo
/external/llvm/lib/Target/MBlaze/
DMBlazeIntrinsicInfo.h27 Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
DMBlazeIntrinsicInfo.cpp105 Function *MBlazeIntrinsicInfo::getDeclaration(Module *M, unsigned IntrID, in getDeclaration() function in MBlazeIntrinsicInfo
/external/llvm/include/llvm/Target/
DTargetIntrinsicInfo.h58 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = 0,
/external/llvm/include/llvm/
DIntrinsics.h71 Function *getDeclaration(Module *M, ID id,
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp153 SetJmpFn = Intrinsic::getDeclaration(&M, Intrinsic::setjmp); in doInitialization()
161 LongJmpFn = Intrinsic::getDeclaration(&M, Intrinsic::longjmp); in doInitialization()
162 StackSaveFn = Intrinsic::getDeclaration(&M, Intrinsic::stacksave); in doInitialization()
163 StackRestoreFn = Intrinsic::getDeclaration(&M, Intrinsic::stackrestore); in doInitialization()
DInlineFunction.cpp681 Function *MemCpyFn = Intrinsic::getDeclaration(Caller->getParent(), in HandleByValArgument()
960 Function *StackSave = Intrinsic::getDeclaration(M, Intrinsic::stacksave); in InlineFunction()
961 Function *StackRestore=Intrinsic::getDeclaration(M,Intrinsic::stackrestore); in InlineFunction()
/external/llvm/lib/Analysis/
DDIBuilder.cpp788 DeclareFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_declare); in insertDeclare()
800 DeclareFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_declare); in insertDeclare()
819 ValueFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_value); in insertDbgValueIntrinsic()
834 ValueFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_value); in insertDbgValueIntrinsic()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp75 Intrinsic::getDeclaration(BB->getParent()->getParent(), Intrinsic::trap); in ChangeToUnreachable()
DMemCpyOptimizer.cpp846 M->setCalledFunction(Intrinsic::getDeclaration(Mod, Intrinsic::memcpy, in processMemMove()
DSimplifyLibCalls.cpp996 Value *F = Intrinsic::getDeclaration(Callee->getParent(), in CallOptimizer()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1895 getDeclaration(&module, llvm::Intrinsic::eh_selector); in createStandardUtilityFunctions()
1899 getDeclaration(&module, llvm::Intrinsic::eh_exception); in createStandardUtilityFunctions()
1903 getDeclaration(&module, llvm::Intrinsic::eh_typeid_for); in createStandardUtilityFunctions()
/external/llvm/examples/BrainF/
DBrainF.cpp59 Function *memset_func = Intrinsic::getDeclaration(module, Intrinsic::memset, in header()
/external/clang/include/clang/Sema/
DCodeCompleteConsumer.h666 NamedDecl *getDeclaration() const { in getDeclaration() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp223 CI.setCalledFunction(Intrinsic::getDeclaration(M, MemCpyID, Tys)); in visitCallInst()
DInstCombineCompares.cpp1684 Value *F = Intrinsic::getDeclaration(M, Intrinsic::sadd_with_overflow, in ProcessUGT_ADDCST_ADD()
1726 Value *F = Intrinsic::getDeclaration(M, Intrinsic::uadd_with_overflow, Ty); in ProcessUAddIdiom()
DInstCombineAndOrXor.cpp1428 Function *F = Intrinsic::getDeclaration(M, Intrinsic::bswap, ITy); in MatchBSwap()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp1629 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()