Searched refs:CI (Results 26 - 50 of 260) sorted by relevance

1234567891011

/external/clang/test/Sema/
H A Dc89.c102 typedef const int CI; typedef
104 const CI mine1[5][5]; /* expected-warning {{duplicate 'const' declaration specifier}} */
106 typedef CI array_of_CI[5];
109 typedef CI *array_of_pointer_to_CI[5];
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
H A Dunicodetext.h182 typedef const_iterator CI; typedef in class:i18n::phonenumbers::UnicodeText::const_iterator
214 friend bool operator==(const CI& lhs, const CI& rhs) {
216 friend bool operator!=(const CI& lhs, const CI& rhs) {
218 friend bool operator<(const CI& lhs, const CI& rhs);
219 friend bool operator>(const CI& lhs, const CI& rhs) {
221 friend bool operator<=(const CI
[all...]
/external/clang/lib/FrontendTool/
H A DExecuteCompilerInvocation.cpp34 static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { argument
39 switch (CI.getFrontendOpts().ProgramAction) {
74 if (it->getName() == CI.getFrontendOpts().ActionName) {
76 if (!P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs))
82 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name)
83 << CI.getFrontendOpts().ActionName;
90 if (CI.getPreprocessorOutputOpts().RewriteIncludes) {
125 CI.getDiagnostics().Report(diag::err_fe_action_not_available) << Action;
132 static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { argument
[all...]
/external/llvm/lib/IR/
H A DIRBuilder.cpp57 CallInst *CI = CallInst::Create(Callee, Ops, ""); local
58 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI);
59 Builder->SetInstDebugLocation(CI);
60 return CI;
72 CallInst *CI = createCallHelper(TheFn, Ops, this); local
76 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
78 return CI;
92 CallInst *CI = createCallHelper(TheFn, Ops, this); local
96 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag);
100 CI
116 CallInst *CI = createCallHelper(TheFn, Ops, this); local
[all...]
/external/llvm/lib/CodeGen/
H A DGCStrategy.cpp235 if (CallInst *CI = dyn_cast<CallInst>(I))
236 if (Function *F = CI->getCalledFunction())
283 if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++)) {
284 Function *F = CI->getCalledFunction();
289 Value *St = new StoreInst(CI->getArgOperand(0),
290 CI->getArgOperand(2), CI);
291 CI->replaceAllUsesWith(St);
292 CI->eraseFromParent();
298 Value *Ld = new LoadInst(CI
353 VisitCallPoint(MachineBasicBlock::iterator CI) argument
[all...]
H A DShadowStackGC.cpp135 if (CallInst *CI = dyn_cast<CallInst>(II))
136 if (!CI->getCalledFunction() ||
137 !CI->getCalledFunction()->getIntrinsicID())
138 Calls.push_back(CI);
162 CallInst *CI = cast<CallInst>(Calls[--I]); local
165 BasicBlock *CallBB = CI->getParent();
167 CallBB->splitBasicBlock(CI, CallBB->getName() + ".cont");
171 NewBB->getInstList().remove(CI);
175 CallSite CS(CI);
178 InvokeInst *II = InvokeInst::Create(CI
[all...]
H A DAtomicExpandLoadLinkedPass.cpp46 bool expandAtomicCmpXchg(AtomicCmpXchgInst *CI);
86 else if (AtomicCmpXchgInst *CI = dyn_cast<AtomicCmpXchgInst>(Inst))
87 MadeChange |= expandAtomicCmpXchg(CI);
233 bool AtomicExpandLoadLinked::expandAtomicCmpXchg(AtomicCmpXchgInst *CI) { argument
234 AtomicOrdering SuccessOrder = CI->getSuccessOrdering();
235 AtomicOrdering FailureOrder = CI->getFailureOrdering();
236 Value *Addr = CI->getPointerOperand();
237 BasicBlock *BB = CI->getParent();
266 BasicBlock *ExitBB = BB->splitBasicBlock(CI, "cmpxchg.end");
272 // This grabs the DebugLoc from CI
[all...]
H A DCodeGenPrepare.cpp142 bool OptimizeCallInst(CallInst *CI);
479 static bool SinkCast(CastInst *CI) { argument
480 BasicBlock *DefBB = CI->getParent();
486 for (Value::user_iterator UI = CI->user_begin(), E = CI->user_end();
510 CastInst::Create(CI->getOpcode(), CI->getOperand(0), CI->getType(), "",
521 if (CI->use_empty()) {
522 CI
536 OptimizeNoopCopyExpression(CastInst *CI, const TargetLowering &TLI) argument
572 OptimizeCmpExpression(CmpInst *CI) argument
643 SinkShiftAndTruncate(BinaryOperator *ShiftI, Instruction *User, ConstantInt *CI, DenseMap<BasicBlock *, BinaryOperator *> &InsertedShifts, const TargetLowering &TLI) argument
725 OptimizeExtractBits(BinaryOperator *ShiftI, ConstantInt *CI, const TargetLowering &TLI) argument
818 OptimizeCallInst(CallInst *CI) argument
972 CallInst *CI = dyn_cast<CallInst>(PN->getIncomingValue(I)); local
991 CallInst *CI = dyn_cast<CallInst>(&*RI); local
999 CallInst *CI = TailCalls[i]; local
1609 ConstantInt *CI = nullptr; Value *AddLHS = nullptr; local
2267 IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, const TargetLowering &TLI) argument
3172 ConstantInt *CI = dyn_cast<ConstantInt>(BinOp->getOperand(1)); local
[all...]
H A DMachineCopyPropagation.cpp159 DenseMap<unsigned, MachineInstr*>::iterator CI = AvailCopyMap.find(Src); local
160 if (CI != AvailCopyMap.end()) {
161 MachineInstr *CopyMI = CI->second;
195 CI = CopyMap.find(*AI);
196 if (CI != CopyMap.end()) {
197 DEBUG(dbgs() << "MCP: Copy is no longer dead: "; CI->second->dump());
198 MaybeDeadCopies.remove(CI->second);
263 DenseMap<unsigned, MachineInstr*>::iterator CI = CopyMap.find(*AI); local
264 if (CI != CopyMap.end()) {
265 DEBUG(dbgs() << "MCP: Copy is used - not dead: "; CI
[all...]
/external/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h45 Value *optimizeCall(CallInst *CI);
/external/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp39 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, llvm::StringRef) { argument
43 bool ParseArgs(const CompilerInstance &CI, argument
50 DiagnosticsEngine &D = CI.getDiagnostics();
/external/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp81 std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation());
82 if (!CompilerInvocation::CreateFromArgs(*CI,
88 return CI.release();
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp572 static raw_ostream *GetOutputStream(CompilerInstance &CI, argument
577 return CI.createDefaultOutputFile(false, InFile, "s");
579 return CI.createDefaultOutputFile(false, InFile, "ll");
581 return CI.createDefaultOutputFile(true, InFile, "bc");
585 return CI.createNullOutputFile();
587 return CI.createDefaultOutputFile(true, InFile, "o");
593 ASTConsumer *CodeGenAction::CreateASTConsumer(CompilerInstance &CI, argument
596 std::unique_ptr<raw_ostream> OS(GetOutputStream(CI, InFile, BA));
604 const std::string &LinkBCFile = CI.getCodeGenOpts().LinkBitcodeFile;
609 CI
637 CompilerInstance &CI = getCompilerInstance(); local
[all...]
/external/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp150 CompilerInstance &CI = getCompilerInstance(); local
151 ASSERT_FALSE(CI.hasSema());
152 CI.createSema(getTranslationUnitKind(), nullptr);
153 ASSERT_TRUE(CI.hasDiagnostics());
154 DiagnosticsEngine &Diagnostics = CI.getDiagnostics();
162 Sources[I]->InitializeSema(CI.getSema());
163 CI.getSema().addExternalSource(Sources[I]);
165 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats,
166 CI
[all...]
/external/libcxx/test/containers/sequences/deque/deque.modifiers/
H A Dinsert_value.pass.cpp46 typedef typename C::const_iterator CI; typedef
48 CI i = c1.insert(c1.begin() + P, x);
66 typedef typename C::const_iterator CI; typedef
97 typedef typename C::const_iterator CI; typedef
103 CI it = c.cbegin() + i;
104 CI jt = c.cbegin() + j;
H A Dinsert_iter_iter.pass.cpp50 typedef typename C::const_iterator CI; typedef
51 typedef bidirectional_iterator<CI> BCI;
53 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end()));
71 typedef typename C::const_iterator CI; typedef
133 typedef typename C::const_iterator CI; typedef
134 typedef input_iterator<CI> ICI;
136 CI i = c1.insert(c1.begin() + P, ICI(c2.begin()), ICI(c2.end()));
154 typedef typename C::const_iterator CI; typedef
208 typedef typename C::const_iterator CI; typedef
215 for (CI
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp203 Instruction *InstCombiner::visitCallInst(CallInst &CI) { argument
204 if (isFreeCall(&CI, TLI))
205 return visitFree(CI);
209 if (CI.getParent()->getParent()->doesNotThrow() &&
210 !CI.doesNotThrow()) {
211 CI.setDoesNotThrow();
212 return &CI;
215 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&CI);
216 if (!II) return visitCallSite(&CI);
226 return EraseInstFromFunction(CI);
1010 isSafeToEliminateVarargsCast(const CallSite CS, const CastInst * const CI, const DataLayout * const DL, const int ix) argument
1037 tryOptimizeCall(CallInst *CI, const DataLayout *DL) argument
1197 CastInst *CI = dyn_cast<CastInst>(*I); local
1442 CallInst *CI = cast<CallInst>(Caller); local
[all...]
H A DInstCombine.h175 Instruction *FoldICmpAddOpCst(Instruction &ICI, Value *X, ConstantInt *CI,
181 Instruction *commonCastTransforms(CastInst &CI);
182 Instruction *commonPointerCastTransforms(CastInst &CI);
183 Instruction *visitTrunc(TruncInst &CI);
184 Instruction *visitZExt(ZExtInst &CI);
185 Instruction *visitSExt(SExtInst &CI);
186 Instruction *visitFPTrunc(FPTruncInst &CI);
187 Instruction *visitFPExt(CastInst &CI);
190 Instruction *visitUIToFP(CastInst &CI);
191 Instruction *visitSIToFP(CastInst &CI);
[all...]
/external/libcxx/test/containers/sequences/deque/deque.capacity/
H A Dresize_size.pass.cpp45 typedef typename C::const_iterator CI; typedef
50 CI i = c1.begin();
61 typedef typename C::const_iterator CI; typedef
/external/libcxx/test/containers/sequences/deque/deque.cons/
H A Dassign_size_value.pass.cpp46 typedef typename C::const_iterator CI; typedef
51 for (CI i = c1.begin(); i != c1.end(); ++i)
60 typedef typename C::const_iterator CI; typedef
H A Dassign_iter_iter.pass.cpp58 typedef typename C::const_iterator CI; typedef
68 typedef typename C::const_iterator CI; typedef
69 typedef input_iterator<CI> ICI;
81 typedef typename C::const_iterator CI; typedef
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h204 if (const CallInst *CI = dyn_cast<CallInst>(V)) {
205 if (const Function *F = CI->getCalledFunction())
282 static inline void EraseInstruction(Instruction *CI) { argument
283 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
285 bool Unused = CI->use_empty();
289 assert((IsForwarding(GetBasicInstructionClass(CI)) ||
290 (IsNoopOnNull(GetBasicInstructionClass(CI)) &&
293 CI->replaceAllUsesWith(OldArg);
296 CI->eraseFromParent();
/external/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp586 ClassInfo *CI; member in struct:__anon26561::OperandMatchEntry
592 X.CI = ci;
1034 if (ClassInfo *CI = AsmOperandClasses[MatchClass])
1035 return CI;
1043 if (ClassInfo *CI = RegisterClassClasses[ClassRec])
1044 return CI;
1050 if (ClassInfo *CI = RegisterClassClasses[Rec])
1051 return CI;
1059 if (ClassInfo *CI = AsmOperandClasses[MatchClass])
1060 return CI;
1141 ClassInfo *CI = new ClassInfo(); local
1159 ClassInfo *CI = RegisterSetClasses[*it]; local
1176 ClassInfo *CI = RegisterSetClasses[RegisterSet(RC.getOrder().begin(), local
1197 ClassInfo *CI = RegisterClasses[Rec]; local
1221 ClassInfo *CI = AsmOperandClasses[*it]; local
1311 ClassInfo *CI = iit->first; local
[all...]
/external/llvm/lib/Analysis/
H A DCodeMetrics.cpp67 if (const CallInst *CI = dyn_cast<CallInst>(II))
68 if (CI->cannotDuplicate())
/external/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp181 Instruction *CI = BI++; local
182 if (isa<PHINode>(CI) || !isSafeToSpeculativelyExecute(CI))
243 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition()); local
244 CmpInst::Predicate Predicate = CI->getPredicate();
247 CI->setPredicate(ICmpInst::getInversePredicate(Predicate));
428 Instruction *CI = BI; local
429 if (isa<PHINode>(CI) || CI->mayHaveSideEffects() ||
430 !isSafeToSpeculativelyExecute(CI))
[all...]

Completed in 473 milliseconds

1234567891011