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

1 2 3 4 5 6 7 8

  /external/llvm/bindings/ocaml/analysis/
analysis_ocaml.c 46 CAMLprim value llvm_verify_function(LLVMValueRef Fn) {
47 return Val_bool(LLVMVerifyFunction(Fn, LLVMReturnStatusAction) == 0);
57 CAMLprim value llvm_assert_valid_function(LLVMValueRef Fn) {
58 LLVMVerifyFunction(Fn, LLVMAbortProcessAction);
63 CAMLprim value llvm_view_function_cfg(LLVMValueRef Fn) {
64 LLVMViewFunctionCFG(Fn);
69 CAMLprim value llvm_view_function_cfg_only(LLVMValueRef Fn) {
70 LLVMViewFunctionCFGOnly(Fn);
  /external/llvm/include/llvm-c/
Analysis.h 50 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action);
54 void LLVMViewFunctionCFG(LLVMValueRef Fn);
55 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn);
  /external/llvm/lib/CodeGen/
PrologEpilogInserter.h 48 bool runOnMachineFunction(MachineFunction &Fn);
110 bool calculateSets(MachineFunction &Fn);
113 void calculateAnticAvail(MachineFunction &Fn);
123 void placeSpillsAndRestores(MachineFunction &Fn);
124 void placeCSRSpillsAndRestores(MachineFunction &Fn);
125 void calculateCallsInformation(MachineFunction &Fn);
126 void calculateCalleeSavedRegisters(MachineFunction &Fn);
127 void insertCSRSpillsAndRestores(MachineFunction &Fn);
128 void calculateFrameObjectOffsets(MachineFunction &Fn);
129 void replaceFrameIndices(MachineFunction &Fn);
    [all...]
PrologEpilogInserter.cpp 72 bool PEI::runOnMachineFunction(MachineFunction &Fn) {
73 const Function* F = Fn.getFunction();
74 const TargetRegisterInfo *TRI = Fn.getTarget().getRegisterInfo();
75 const TargetFrameLowering *TFI = Fn.getTarget().getFrameLowering();
77 assert(!Fn.getRegInfo().getNumVirtRegs() && "Regalloc must assign all vregs");
79 RS = TRI->requiresRegisterScavenging(Fn) ? new RegScavenger() : NULL;
80 FrameIndexVirtualScavenging = TRI->requiresFrameIndexScavenging(Fn);
85 calculateCallsInformation(Fn);
89 TFI->processFunctionBeforeCalleeSavedScan(Fn, RS);
93 calculateCalleeSavedRegisters(Fn);
    [all...]
DwarfEHPrepare.cpp 40 bool InsertUnwindResumeCalls(Function &Fn);
50 virtual bool runOnFunction(Function &Fn);
108 bool DwarfEHPrepare::InsertUnwindResumeCalls(Function &Fn) {
110 for (Function::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) {
126 RewindFunction = Fn.getParent()->getOrInsertFunction(RewindName, FTy);
130 LLVMContext &Ctx = Fn.getContext();
149 BasicBlock *UnwindBB = BasicBlock::Create(Ctx, "unwind_resume", &Fn);
176 bool DwarfEHPrepare::runOnFunction(Function &Fn) {
177 bool Changed = InsertUnwindResumeCalls(Fn);
    [all...]
CallingConvLower.cpp 68 CCAssignFn Fn) {
74 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
87 CCAssignFn Fn) {
92 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this))
101 CCAssignFn Fn) {
106 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this)) {
119 CCAssignFn Fn) {
124 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this)) {
138 CCAssignFn Fn) {
143 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this))
    [all...]
LocalStackSlotAllocation.cpp 66 void calculateFrameObjectOffsets(MachineFunction &Fn);
67 bool insertFrameReferenceRegisters(MachineFunction &Fn);
151 void LocalStackSlotPass::calculateFrameObjectOffsets(MachineFunction &Fn) {
153 MachineFrameInfo *MFI = Fn.getFrameInfo();
154 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering();
211 bool LocalStackSlotPass::insertFrameReferenceRegisters(MachineFunction &Fn) {
220 MachineFrameInfo *MFI = Fn.getFrameInfo();
221 const TargetRegisterInfo *TRI = Fn.getTarget().getRegisterInfo();
222 const TargetFrameLowering &TFI = *Fn.getTarget().getFrameLowering();
232 for (MachineFunction::iterator BB = Fn.begin(), E = Fn.end(); BB != E; ++BB)
    [all...]
  /external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/
p1.cpp 12 typedef void Fn();
13 Fn ar4[10]; // expected-error {{array of functions}}
15 struct Abstract { virtual void fn() = 0; }; // expected-note {{pure virtual}}
  /external/llvm/lib/Target/MSP430/
MSP430BranchSelector.cpp 38 virtual bool runOnMachineFunction(MachineFunction &Fn);
54 bool MSP430BSel::runOnMachineFunction(MachineFunction &Fn) {
56 static_cast<const MSP430InstrInfo*>(Fn.getTarget().getInstrInfo());
58 Fn.RenumberBlocks();
59 BlockSizes.resize(Fn.getNumBlockIDs());
63 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
99 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
  /external/llvm/lib/Support/
Threading.cpp 79 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData,
81 ThreadInfo Info = { Fn, UserData };
121 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData,
123 struct ThreadInfo param = { Fn, UserData };
141 void llvm::llvm_execute_on_thread(void (*Fn)(void*), void *UserData,
144 Fn(UserData);
  /external/llvm/include/llvm/Support/
TargetRegistry.h 608 /// @param Fn - A function to construct a MCAsmInfo for the target.
609 static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) {
612 T.MCAsmInfoCtorFn = Fn;
623 /// @param Fn - A function to construct a MCCodeGenInfo for the target.
625 Target::MCCodeGenInfoCtorFnTy Fn) {
628 T.MCCodeGenInfoCtorFn = Fn;
639 /// @param Fn - A function to construct a MCInstrInfo for the target.
640 static void RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn) {
643 T.MCInstrInfoCtorFn = Fn;
649 Target::MCInstrAnalysisCtorFnTy Fn) {
    [all...]
  /external/llvm/include/llvm/Transforms/IPO/
PassManagerBuilder.h 120 static void addGlobalExtension(ExtensionPointTy Ty, ExtensionFn Fn);
121 void addExtension(ExtensionPointTy Ty, ExtensionFn Fn);
145 PassManagerBuilder::ExtensionFn Fn) {
146 PassManagerBuilder::addGlobalExtension(Ty, Fn);
  /external/llvm/lib/Target/PowerPC/
PPCBranchSelector.cpp 45 virtual bool runOnMachineFunction(MachineFunction &Fn);
64 bool PPCBSel::runOnMachineFunction(MachineFunction &Fn) {
66 static_cast<const PPCInstrInfo*>(Fn.getTarget().getInstrInfo());
68 Fn.RenumberBlocks();
69 BlockSizes.resize(Fn.getNumBlockIDs());
73 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
109 for (MachineFunction::iterator MFI = Fn.begin(), E = Fn.end(); MFI != E;
PPCJITInfo.h 34 virtual void *emitFunctionStub(const Function* F, void *Fn,
  /external/llvm/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp 65 Function *Fn = CI->getCalledFunction();
66 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect)
109 Function *Fn = CI->getCalledFunction();
110 if (!Fn || Fn->getIntrinsicID() != Intrinsic::expect)
155 Function *Fn = CI->getCalledFunction();
156 if (Fn && Fn->getIntrinsicID() == Intrinsic::expect) {
  /external/llvm/lib/Analysis/
Analysis.cpp 96 LLVMBool LLVMVerifyFunction(LLVMValueRef Fn, LLVMVerifierFailureAction Action) {
97 return verifyFunction(*unwrap<Function>(Fn),
101 void LLVMViewFunctionCFG(LLVMValueRef Fn) {
102 Function *F = unwrap<Function>(Fn);
106 void LLVMViewFunctionCFGOnly(LLVMValueRef Fn) {
107 Function *F = unwrap<Function>(Fn);
  /external/llvm/lib/Target/Hexagon/
HexagonCallingConvLower.h 80 Hexagon_CCAssignFn Fn, unsigned SretValueInRegs);
85 Hexagon_CCAssignFn Fn, unsigned SretValueInRegs);
90 Hexagon_CCAssignFn Fn, int NonVarArgsParams,
97 Hexagon_CCAssignFn Fn);
102 Hexagon_CCAssignFn Fn, unsigned SretValueInRegs);
106 void AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn);
HexagonCallingConvLower.cpp 68 Hexagon_CCAssignFn Fn,
83 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this, 0, 0, false)) {
95 Hexagon_CCAssignFn Fn,
119 if (Fn(i, VT, VT, CCValAssign::Full, ArgFlags, *this, -1, -1, false)){
133 Hexagon_CCAssignFn Fn,
149 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this,
163 Hexagon_CCAssignFn Fn) {
168 if (Fn(i, ArgVT, ArgVT, CCValAssign::Full, ArgFlags, *this, -1, -1,
181 Hexagon_CCAssignFn Fn,
187 if (Fn(i, VT, VT, CCValAssign::Full, Flags, *this, -1, -1, false))
    [all...]
  /sdk/emulator/opengl/host/include/libOpenglRender/
render_api.h 38 typedef ret (* name##Fn) args
41 typedef ret (* name##Fn) args ; \
  /external/llvm/lib/Target/Mips/
MipsJITInfo.h 49 virtual void *emitFunctionStub(const Function *F, void *Fn,
  /external/clang/lib/CodeGen/
CGDeclCXX.cpp 169 llvm::Function *fn = local
178 CGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, fn,
191 return fn;
230 llvm::Function *Fn =
237 Fn->setSection(Section);
240 Fn->setCallingConv(CGM.getRuntimeCC());
243 Fn->setDoesNotThrow();
246 Fn->addFnAttr(llvm::Attribute::SanitizeAddress);
248 Fn->addFnAttr(llvm::Attribute::SanitizeThread);
250 Fn->addFnAttr(llvm::Attribute::SanitizeMemory)
498 llvm::Function *fn = local
    [all...]
  /frameworks/compile/mclinker/include/mcld/Support/
TargetRegistry.h 170 /// @param Fn - A function to construct a TargetMachine for the target.
171 static void RegisterTargetMachine(mcld::Target &T, mcld::Target::TargetMachineCtorTy Fn)
175 T.TargetMachineCtorFn = Fn;
182 /// @param Fn - A function to create MCLinker for the target
183 static void RegisterMCLinker(mcld::Target &T, mcld::Target::MCLinkerCtorTy Fn)
186 T.MCLinkerCtorFn = Fn;
193 /// @param Fn - A emulation function
194 static void RegisterEmulation(mcld::Target &T, mcld::Target::EmulationFnTy Fn)
197 T.EmulationFn = Fn;
204 /// @param Fn - A function to create TargetLDBackend for the targe
    [all...]
  /art/runtime/native/
java_lang_Runtime.cc 57 typedef void (*Fn)(const char*);
58 Fn android_update_LD_LIBRARY_PATH = reinterpret_cast<Fn>(sym);
  /dalvik/vm/native/
java_lang_Runtime.cpp 84 typedef void (*Fn)(const char*);
85 Fn android_update_LD_LIBRARY_PATH = reinterpret_cast<Fn>(sym);
  /bionic/tests/
signal_test.cpp 22 template <typename Fn>
23 static void TestSigSet1(Fn fn) {
27 ASSERT_EQ(-1, fn(set_ptr));
33 ASSERT_EQ(0, fn(&set));
37 template <typename Fn>
38 static void TestSigSet2(Fn fn) {
42 ASSERT_EQ(-1, fn(set_ptr, SIGSEGV));
63 ASSERT_EQ(-1, fn(&set, 0))
    [all...]

Completed in 2752 milliseconds

1 2 3 4 5 6 7 8