Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DCompilationDatabase.cpp314 if (Cmd.getSource().getKind() == driver::Action::AssembleJobClass || in stripPositionalArgs()
315 Cmd.getSource().getKind() == driver::Action::BackendJobClass || in stripPositionalArgs()
316 Cmd.getSource().getKind() == driver::Action::CompileJobClass) { in stripPositionalArgs()
317 CompileAnalyzer.run(&Cmd.getSource()); in stripPositionalArgs()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1012 if (M->getSource() != MDep->getDest() || MDep->isVolatile()) in processMemCpyMemCpyDependence()
1020 if (M->getSource() == MDep->getSource()) in processMemCpyMemCpyDependence()
1222 if (M->getSource() == M->getDest()) { in processMemCpy()
1229 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(M->getSource())) in processMemCpy()
1266 if (performCallSlotOptzn(M, M->getDest(), M->getSource(), in processMemCpy()
1371 getOrEnforceKnownAlignment(MDep->getSource(), ByValAlign, DL, in processByValArgument()
1376 if (MDep->getSource()->getType()->getPointerAddressSpace() != in processByValArgument()
1395 Value *TmpCast = MDep->getSource(); in processByValArgument()
1396 if (MDep->getSource()->getType() != ByValArg->getType()) in processByValArgument()
1397 TmpCast = new BitCastInst(MDep->getSource(), ByValArg->getType(), in processByValArgument()
H A DAlignmentFromAssumptions.cpp352 MTI->getSource(), SE); in processAssumption()
H A DLoopLoadElimination.cpp185 Instruction *Source = Dep.getSource(LAI); in findStoreToLoadDependences()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Driver/
H A DCompilation.cpp211 if (A == &(CI.second->getSource())) in ActionFailed()
223 return !ActionFailed(&C.getSource(), FailingCommands); in InputsOk()
H A DDriver.cpp1447 const JobAction *JA = cast<JobAction>(&FailingCommand->getSource()); in ExecuteCompilation()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DLoopAccessAnalysis.h157 Instruction *getSource(const LoopAccessInfo &LAI) const;
773 inline Instruction *MemoryDepChecker::Dependence::getSource( in getSource() function
H A DVectorUtils.h597 Dependences[Dep.getSource(*LAI)].insert(Dep.getDestination(*LAI)); in collectDependences()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Driver/
H A DJob.h105 const Action &getSource() const { return Source; } in getSource() function
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLint.cpp327 visitMemoryReference(I, MCI->getSource(), MemoryLocation::UnknownSize, in visitCallSite()
339 Assert(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != in visitCallSite()
349 visitMemoryReference(I, MMI->getSource(), MemoryLocation::UnknownSize, in visitCallSite()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h459 inline Optional<StringRef> getSource() const;
567 getChecksum(), getSource());
590 Optional<StringRef> getSource() const {
619 Optional<StringRef> DIScope::getSource() const {
621 return F->getSource();
1499 Optional<StringRef> getSource() const { return getScope()->getSource(); }
2317 Optional<StringRef> getSource() const {
2319 return F->getSource();
2888 Optional<StringRef> getSource() const {
2890 return F->getSource();
H A DCFG.h235 inline BlockT *getSource() { in getSource() function
H A DIntrinsicInst.h341 Value *getSource() const { return getRawSource()->stripPointerCasts(); } in getSource() function
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp276 Constant *Src = dyn_cast<Constant>(MTI->getSource()); in analyzeLoadFromClobberingMemInst()
464 Constant *Src = cast<Constant>(MTI->getSource()); in getMemInstValueForLoadHelper()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp149 if (!pointsToConstantGlobal(MI->getSource())) in isOnlyCopiedFromConstantGlobal()
405 Copy->getSource(), AI.getAlignment(), DL, &AI, &AC, &DT); in visitAllocaInst()
407 isDereferenceableForAllocaSize(Copy->getSource(), &AI, DL)) { in visitAllocaInst()
412 Constant *TheSrc = cast<Constant>(Copy->getSource()); in visitAllocaInst()
H A DInstCombineCalls.cpp1877 if (GlobalVariable *GVSrc = dyn_cast<GlobalVariable>(MMI->getSource())) in visitCallInst()
1894 if (MTI->getSource() == MTI->getDest()) in visitCallInst()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDebugInfo.h539 Optional<StringRef> getSource(const SourceManager &SM, FileID FID);
H A DCGDebugInfo.cpp390 Optional<StringRef> CGDebugInfo::getSource(const SourceManager &SM, in getSource() function in CGDebugInfo
431 return createFile(FileName, CSInfo, getSource(SM, SM.getFileID(Loc))); in getOrCreateFile()
607 getSource(SM, SM.getMainFileID())); in CreateCompileUnit()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBTFDebug.cpp510 auto Source = File->getSource(); in populateFileContent()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp110 File->getSource(), CUID); in getOrCreateSourceID()
H A DDwarfDebug.cpp650 NewCU.getMD5AsBytes(DIUnit->getFile()), DIUnit->getSource(), in getOrCreateDwarfCompileUnit()
2591 CU.getMD5AsBytes(DIUnit->getFile()), DIUnit->getSource()); in getDwoLineTable()
H A DDwarfUnit.cpp314 getMD5AsBytes(File), File->getSource()); in getOrCreateSourceID()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1465 Value *SrcShadow = DFSF.DFS.getShadowAddress(I.getSource(), &I); in visitMemTransferInst()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp227 GlobalVariable *MemSrc = dyn_cast<GlobalVariable>(MTI->getSource()); in CleanupPointerRootUsers()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DAsmWriter.cpp1907 Printer.printString("source", N->getSource().getValueOr(StringRef()), in writeDIFile()

12