HomeSort by relevance Sort by last modified time
    Searched refs:Fn (Results 51 - 75 of 148) sorted by null

1 23 4 5 6

  /external/llvm/lib/Target/Hexagon/
HexagonSplitTFRCondSets.cpp 65 bool runOnMachineFunction(MachineFunction &Fn);
72 bool HexagonSplitTFRCondSets::runOnMachineFunction(MachineFunction &Fn) {
77 for (MachineFunction::iterator MBBb = Fn.begin(), MBBe = Fn.end();
  /external/llvm/lib/Transforms/Instrumentation/
BoundsChecking.cpp 83 Function *Fn = Inst->getParent()->getParent();
85 TrapBB = BasicBlock::Create(Fn->getContext(), "trap", Fn);
88 llvm::Value *F = Intrinsic::getDeclaration(Fn->getParent(), Intrinsic::trap);
GCOVProfiling.cpp 697 Function *Fn =
699 Fn->setUnnamedAddr(true);
700 Fn->setLinkage(GlobalValue::InternalLinkage);
701 Fn->addFnAttr(Attribute::NoInline);
708 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", Fn);
711 BasicBlock *PredNotNegOne = BasicBlock::Create(*Ctx, "", Fn);
712 BasicBlock *CounterEnd = BasicBlock::Create(*Ctx, "", Fn);
713 BasicBlock *Exit = BasicBlock::Create(*Ctx, "exit", Fn);
717 Argument *Arg = Fn->arg_begin();
728 Arg = llvm::next(Fn->arg_begin())
    [all...]
  /external/clang/lib/Sema/
SemaOverload.cpp 41 CreateFunctionRefExpr(Sema &S, FunctionDecl *Fn, bool HadMultipleCandidates,
44 DeclRefExpr *DRE = new (S.Context) DeclRefExpr(Fn, false, Fn->getType(),
    [all...]
  /external/llvm/lib/CodeGen/
PostRASchedulerList.cpp 99 bool runOnMachineFunction(MachineFunction &Fn);
255 bool PostRAScheduler::runOnMachineFunction(MachineFunction &Fn) {
256 TII = Fn.getTarget().getInstrInfo();
262 RegClassInfo.runOnMachineFunction(Fn);
274 const TargetSubtargetInfo &ST = Fn.getTarget().getSubtarget<TargetSubtargetInfo>();
291 SchedulePostRATDList Scheduler(Fn, MLI, MDT, AA, RegClassInfo, AntiDepMode,
295 for (MachineFunction::iterator MBB = Fn.begin(), MBBe = Fn.end();
303 dbgs() << "*** DEBUG scheduling " << Fn.getName()
320 if (MI->isCall() || TII->isSchedulingBoundary(MI, MBB, Fn)) {
    [all...]
IntrinsicLowering.cpp 38 static void EnsureFPIntrinsicsExist(Module &M, Function *Fn,
42 switch((int)Fn->arg_begin()->getType()->getTypeID()) {
44 EnsureFunctionExists(M, FName, Fn->arg_begin(), Fn->arg_end(),
48 EnsureFunctionExists(M, DName, Fn->arg_begin(), Fn->arg_end(),
54 EnsureFunctionExists(M, LDName, Fn->arg_begin(), Fn->arg_end(),
55 Fn->arg_begin()->getType());
StackProtector.cpp 80 virtual bool runOnFunction(Function &Fn);
92 bool StackProtector::runOnFunction(Function &Fn) {
93 F = &Fn;
MachineModuleInfo.cpp 60 Function *Fn; // The containing function of the BasicBlock.
108 assert(BB->getParent() == Entry.Fn && "Parent changed");
119 Entry.Fn = BB->getParent();
169 assert((BB->getParent() == 0 || BB->getParent() == Entry.Fn) &&
181 DeletedAddrLabelsNeedingEmission[Entry.Fn].push_back(Sym);
194 DeletedAddrLabelsNeedingEmission[Entry.Fn].push_back(Sym);
RegAllocFast.cpp 146 bool runOnMachineFunction(MachineFunction &Fn);
    [all...]
  /external/llvm/bindings/ocaml/llvm/
llvm_ocaml.c 974 LLVMValueRef Fn;
975 if ((Fn = LLVMGetNamedFunction(M, String_val(Name)))) {
976 if (LLVMGetElementType(LLVMTypeOf(Fn)) != Ty)
977 return LLVMConstBitCast(Fn, LLVMPointerType(Ty, 0));
978 return Fn;
986 LLVMValueRef Fn;
987 if ((Fn = LLVMGetNamedFunction(M, String_val(Name)))) {
989 Field(Option, 0) = (value) Fn;
998 LLVMValueRef Fn = LLVMAddFunction(M, String_val(Name), Ty);
999 LLVMAppendBasicBlockInContext(LLVMGetTypeContext(Ty), Fn, "entry")
    [all...]
  /external/clang/lib/CodeGen/
CGObjCRuntime.cpp 150 CallObjCEndCatch(bool MightThrow, llvm::Value *Fn) :
151 MightThrow(MightThrow), Fn(Fn) {}
153 llvm::Value *Fn;
157 CGF.Builder.CreateCall(Fn)->setDoesNotThrow();
161 CGF.EmitCallOrInvoke(Fn);
CGException.cpp 244 llvm::Constant *Fn =
247 return Fn;
252 llvm::Constant *Fn = getPersonalityFn(CGM, Personality);
253 return llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy);
258 static bool PersonalityHasOnlyCXXUses(llvm::Constant *Fn) {
260 I = Fn->use_begin(), E = Fn->use_end(); I != E; ++I) {
326 llvm::Function *Fn = getModule().getFunction(ObjCXX.PersonalityFn);
329 if (!Fn || Fn->use_empty()) return
    [all...]
CodeGenFunction.cpp 229 void CodeGenFunction::EmitFunctionInstrumentation(const char *Fn) {
236 llvm::Constant *F = CGM.CreateRuntimeFunction(FunctionTy, Fn);
259 static void GenOpenCLArgMetadata(const FunctionDecl *FD, llvm::Function *Fn,
283 llvm::Function *Fn)
291 kernelMDArgs.push_back(Fn);
294 GenOpenCLArgMetadata(FD, Fn, CGM, Context, kernelMDArgs);
331 llvm::Function *Fn,
340 CurFn = Fn;
351 Fn->addFnAttr(llvm::Attribute::InlineHint);
358 EmitOpenCLKernelMetadata(FD, Fn);
    [all...]
  /external/llvm/include/llvm/Analysis/
BlockFrequencyImpl.h 47 FunctionT *Fn;
262 void doFunction(FunctionT *fn, BlockProbInfoT *bpi) {
263 Fn = fn;
272 BlockT *EntryBlock = fn->begin();
321 for (typename FunctionT::iterator I = Fn->begin(), E = Fn->end(); I != E;) {
  /external/llvm/lib/Target/ARM/
ARMJITInfo.h 71 virtual void *emitFunctionStub(const Function* F, void *Fn,
  /external/llvm/lib/Transforms/IPO/
PassManagerBuilder.cpp 65 PassManagerBuilder::ExtensionFn Fn) {
66 GlobalExtensions->push_back(std::make_pair(Ty, Fn));
69 void PassManagerBuilder::addExtension(ExtensionPointTy Ty, ExtensionFn Fn) {
70 Extensions.push_back(std::make_pair(Ty, Fn));
146 MPM.add(createArgumentPromotionPass()); // Scalarize uninlined fn args
  /external/llvm/lib/VMCore/
Core.cpp     [all...]
DebugInfo.cpp 686 NamedMDNode *llvm::getFnSpecificMDNode(const Module &M, DISubprogram Fn) {
688 StringRef FName = "fn";
689 if (Fn.getFunction())
690 FName = Fn.getFunction()->getName();
692 FName = Fn.getName();
702 NamedMDNode *llvm::getOrInsertFnSpecificMDNode(Module &M, DISubprogram Fn) {
704 StringRef FName = "fn";
705 if (Fn.getFunction())
706 FName = Fn.getFunction()->getName();
708 FName = Fn.getName()
    [all...]
  /external/llvm/utils/TableGen/
CodeGenDAGPatterns.h 388 void addPredicateFn(const TreePredicateFn &Fn) {
389 assert(!Fn.isAlwaysTrue() && "Empty predicate string!");
390 if (std::find(PredicateFns.begin(), PredicateFns.end(), Fn) ==
392 PredicateFns.push_back(Fn);
396 void setTransformFn(Record *Fn) { TransformFn = Fn; }
  /external/llvm/include/llvm/CodeGen/
MachineFunction.h 75 const Function *Fn;
133 MachineFunction(const Function *Fn, const TargetMachine &TM,
144 const Function *getFunction() const { return Fn; }
  /external/llvm/include/llvm/ExecutionEngine/
ExecutionEngine.h 268 int runFunctionAsMain(Function *Fn, const std::vector<std::string> &argv,
430 void RegisterTable(const Function *fn, void* res) {
433 AllExceptionTables[fn] = res;
439 void DeregisterTable(const Function *Fn) {
442 AllExceptionTables.find(Fn);
  /external/llvm/include/llvm-c/
ExecutionEngine.h 126 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn);
  /external/llvm/lib/ExecutionEngine/Interpreter/
ExternalFunctions.cpp 181 static bool ffiInvoke(RawFunc Fn, Function *F,
225 ffi_call(&cif, Fn, ret.data(), values.data());
256 if (ExFunc Fn = (FI == ExportedFunctions->end()) ? lookupFunction(F)
259 return Fn(F->getFunctionType(), ArgVals);
  /external/llvm/lib/AsmParser/
LLParser.cpp 74 const ValID &Fn = ForwardRefBlockAddresses.begin()->first;
75 if (Fn.Kind == ValID::t_GlobalName)
76 TheFn = M->getFunction(Fn.StrVal);
77 else if (Fn.UIntVal < NumberedVals.size())
78 TheFn = dyn_cast<Function>(NumberedVals[Fn.UIntVal]);
81 return Error(Fn.Loc, "unknown function referenced by blockaddress");
    [all...]
  /external/llvm/lib/ExecutionEngine/
ExecutionEngineBindings.cpp 237 void *LLVMRecompileAndRelinkFunction(LLVMExecutionEngineRef EE, LLVMValueRef Fn) {
238 return unwrap(EE)->recompileAndRelinkFunction(unwrap<Function>(Fn));

Completed in 534 milliseconds

1 23 4 5 6