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

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/lib/Transforms/ObjCARC/
ObjCARC.h 52 static inline void EraseInstruction(Instruction *CI) {
53 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
55 bool Unused = CI->use_empty();
59 assert((IsForwarding(GetBasicARCInstKind(CI)) ||
60 (IsNoopOnNull(GetBasicARCInstKind(CI)) &&
63 CI->replaceAllUsesWith(OldArg);
66 CI->eraseFromParent();
  /external/clang/lib/Frontend/
FrontendAction.cpp 138 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI,
140 std::unique_ptr<ASTConsumer> Consumer = CreateASTConsumer(CI, InFile);
160 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size();
162 if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) {
170 P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs[it->getName()])) {
171 std::unique_ptr<ASTConsumer> PluginConsumer = P->CreateASTConsumer(CI, InFile);
189 bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
194 setCompilerInstance(&CI);
198 if (!BeginInvocation(CI))
    [all...]
ASTMerge.cpp 20 ASTMergeAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
21 return AdaptedAction->CreateASTConsumer(CI, InFile);
24 bool ASTMergeAction::BeginSourceFileAction(CompilerInstance &CI,
30 AdaptedAction->setCompilerInstance(&CI);
31 return AdaptedAction->BeginSourceFileAction(CI, Filename);
35 CompilerInstance &CI = getCompilerInstance();
36 CI.getDiagnostics().getClient()->BeginSourceFile(
37 CI.getASTContext().getLangOpts());
38 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument,
39 &CI.getASTContext())
    [all...]
  /external/clang/lib/ARCMigrate/
ARCMTActions.cpp 17 bool CheckAction::BeginInvocation(CompilerInstance &CI) {
18 if (arcmt::checkForManualIssues(CI.getInvocation(), getCurrentInput(),
19 CI.getPCHContainerOperations(),
20 CI.getDiagnostics().getClient()))
24 CI.getDiagnostics().setIgnoreAllWarnings(true);
31 bool ModifyAction::BeginInvocation(CompilerInstance &CI) {
32 return !arcmt::applyTransformations(CI.getInvocation(), getCurrentInput(),
33 CI.getPCHContainerOperations(),
34 CI.getDiagnostics().getClient());
40 bool MigrateAction::BeginInvocation(CompilerInstance &CI) {
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 52 Value *optimizeCall(CallInst *CI);
55 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
57 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
60 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
61 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
63 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
65 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
103 Value *optimizeCall(CallInst *CI);
107 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
62 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
100 Value *optimizeCall(CallInst *CI);
104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
62 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
100 Value *optimizeCall(CallInst *CI);
104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
62 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
100 Value *optimizeCall(CallInst *CI);
104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
62 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
100 Value *optimizeCall(CallInst *CI);
104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc::Func Func);
62 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
100 Value *optimizeCall(CallInst *CI);
104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
62 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
100 Value *optimizeCall(CallInst *CI);
104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Transforms/Utils/
SimplifyLibCalls.h 51 Value *optimizeCall(CallInst *CI);
54 Value *optimizeMemCpyChk(CallInst *CI, IRBuilder<> &B);
55 Value *optimizeMemMoveChk(CallInst *CI, IRBuilder<> &B);
56 Value *optimizeMemSetChk(CallInst *CI, IRBuilder<> &B);
59 Value *optimizeStrpCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
60 Value *optimizeStrpNCpyChk(CallInst *CI, IRBuilder<> &B, LibFunc Func);
62 /// \brief Checks whether the call \p CI to a fortified libcall is foldable
64 bool isFortifiedCallFoldable(CallInst *CI, unsigned ObjSizeOp,
100 Value *optimizeCall(CallInst *CI);
104 Value *optimizeStrCat(CallInst *CI, IRBuilder<> &B)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Analysis/
MemoryBuiltins.cpp 33 static bool isMallocCall(const CallInst *CI) {
34 if (!CI)
37 Function *Callee = CI->getCalledFunction();
61 const CallInst *CI = dyn_cast<CallInst>(I);
62 return (isMallocCall(CI)) ? CI : NULL;
66 CallInst *CI = dyn_cast<CallInst>(I);
67 return (isMallocCall(CI)) ? CI : NULL;
91 static Value *computeArraySize(const CallInst *CI, const TargetData *TD
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyLibCalls.cpp 85 static bool callHasFloatingPointArgument(const CallInst *CI) {
86 return std::any_of(CI->op_begin(), CI->op_end(), [](const Use &OI) {
110 Value *LibCallSimplifier::optimizeStrCat(CallInst *CI, IRBuilder<> &B) {
112 Value *Dst = CI->getArgOperand(0);
113 Value *Src = CI->getArgOperand(1);
149 Value *LibCallSimplifier::optimizeStrNCat(CallInst *CI, IRBuilder<> &B) {
151 Value *Dst = CI->getArgOperand(0);
152 Value *Src = CI->getArgOperand(1);
156 if (ConstantInt *LengthArg = dyn_cast<ConstantInt>(CI->getArgOperand(2))
    [all...]
  /external/clang/include/clang/Lex/
PreprocessorLexer.h 99 PPConditionalInfo CI;
100 CI.IfLoc = DirectiveStart;
101 CI.WasSkipping = WasSkipping;
102 CI.FoundNonSkip = FoundNonSkip;
103 CI.FoundElse = FoundElse;
104 ConditionalStack.push_back(CI);
106 void pushConditionalLevel(const PPConditionalInfo &CI) {
107 ConditionalStack.push_back(CI);
113 bool popConditionalLevel(PPConditionalInfo &CI) {
116 CI = ConditionalStack.pop_back_val()
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Lex/
PreprocessorLexer.h 99 PPConditionalInfo CI;
100 CI.IfLoc = DirectiveStart;
101 CI.WasSkipping = WasSkipping;
102 CI.FoundNonSkip = FoundNonSkip;
103 CI.FoundElse = FoundElse;
104 ConditionalStack.push_back(CI);
106 void pushConditionalLevel(const PPConditionalInfo &CI) {
107 ConditionalStack.push_back(CI);
113 bool popConditionalLevel(PPConditionalInfo &CI) {
116 CI = ConditionalStack.pop_back_val()
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/Lex/
PreprocessorLexer.h 99 PPConditionalInfo CI;
100 CI.IfLoc = DirectiveStart;
101 CI.WasSkipping = WasSkipping;
102 CI.FoundNonSkip = FoundNonSkip;
103 CI.FoundElse = FoundElse;
104 ConditionalStack.push_back(CI);
106 void pushConditionalLevel(const PPConditionalInfo &CI) {
107 ConditionalStack.push_back(CI);
113 bool popConditionalLevel(PPConditionalInfo &CI) {
116 CI = ConditionalStack.pop_back_val()
    [all...]
  /external/llvm/lib/CodeGen/
IntrinsicLowering.cpp 65 static CallInst *ReplaceCallWith(const char *NewFn, CallInst *CI,
70 Module *M = CI->getModule();
78 IRBuilder<> Builder(CI->getParent(), CI->getIterator());
81 NewCI->setName(CI->getName());
82 if (!CI->use_empty())
83 CI->replaceAllUsesWith(NewCI);
317 static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname,
320 CallSite CS(CI);
321 switch (CI->getArgOperand(0)->getType()->getTypeID())
    [all...]

Completed in 1423 milliseconds

1 2 3 4 5 6 7 8 91011>>