/external/clang/lib/Frontend/ |
FrontendAction.cpp | 135 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, 137 ASTConsumer* Consumer = CreateASTConsumer(CI, InFile); 141 if (CI.getFrontendOpts().AddPluginActions.size() == 0) 148 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size(); 156 if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) { 159 if (P->ParseArgs(CI, CI.getFrontendOpts().AddPluginArgs[i])) 160 Consumers.push_back(c->CreateASTConsumer(CI, InFile)); 168 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, 173 setCompilerInstance(&CI); [all...] |
FrontendActions.cpp | 36 ASTConsumer *InitOnlyAction::CreateASTConsumer(CompilerInstance &CI, 48 ASTConsumer *ASTPrintAction::CreateASTConsumer(CompilerInstance &CI, 50 if (raw_ostream *OS = CI.createDefaultOutputFile(false, InFile)) 51 return CreateASTPrinter(OS, CI.getFrontendOpts().ASTDumpFilter); 55 ASTConsumer *ASTDumpAction::CreateASTConsumer(CompilerInstance &CI, 57 return CreateASTDumper(CI.getFrontendOpts().ASTDumpFilter, 58 CI.getFrontendOpts().ASTDumpLookups); 61 ASTConsumer *ASTDeclListAction::CreateASTConsumer(CompilerInstance &CI, 66 ASTConsumer *ASTViewAction::CreateASTConsumer(CompilerInstance &CI, 71 ASTConsumer *DeclContextPrintAction::CreateASTConsumer(CompilerInstance &CI, [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p1.cpp | 33 typedef constexpr int CI; // expected-error {{typedef cannot be constexpr}}
|
/external/clang/test/Sema/ |
c89.c | 102 typedef const int CI; 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];
|
return.c | 253 typedef const int CI; 254 CI ignored_quals_typedef(); 256 const CI ignored_quals_typedef_2(); // expected-warning{{'const' type qualifier}}
|
/external/llvm/lib/Analysis/ |
CostModel.cpp | 247 ConstantInt *CI = dyn_cast<ConstantInt>(ReduxRoot->getOperand(1)); 249 if (CI) 250 Idx = CI->getZExtValue(); 310 ConstantInt *CI = dyn_cast<ConstantInt>(ReduxRoot->getOperand(1)); 312 if (CI) 313 Idx = CI->getZExtValue(); 461 ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1)); 463 if (CI) 464 Idx = CI->getZExtValue(); 481 ConstantInt *CI = dyn_cast<ConstantInt>(IE->getOperand(2)) [all...] |
BranchProbabilityInfo.cpp | 243 if (CallInst *CI = dyn_cast<CallInst>(I)) 244 if (CI->hasFnAttr(Attribute::Cold)) { 281 ICmpInst *CI = dyn_cast<ICmpInst>(Cond); 282 if (!CI || !CI->isEquality()) 285 Value *LHS = CI->getOperand(0); 290 assert(CI->getOperand(1)->getType()->isPointerTy()); 297 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; 371 ICmpInst *CI = dyn_cast<ICmpInst>(Cond); 372 if (!CI) [all...] |
/external/llvm/lib/CodeGen/ |
Analysis.cpp | 132 InlineAsm::ConstraintInfo &CI = CInfos[i]; 133 for (unsigned j = 0, ee = CI.Codes.size(); j != ee; ++j) { 134 TargetLowering::ConstraintType CType = TLI.getConstraintType(CI.Codes[j]); 140 if (CI.isIndirect)
|
ShadowStackGC.cpp | 135 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]); 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->getCalledValue() [all...] |
/external/llvm/lib/IR/ |
Value.cpp | 527 ConstantInt *CI = dyn_cast<ConstantInt>(Index); 528 if (!CI) 531 if (CI->isZero()) 537 if (CI->getValue().getActiveBits() > 64) 539 if (CI->getZExtValue() >= ATy->getNumElements())
|
/external/llvm/lib/Target/AArch64/ |
AArch64PromoteConstant.cpp | 287 const CallInst *CI = dyn_cast<const CallInst>(Instr); 288 if (CI && isa<const InlineAsm>(CI->getCalledValue()))
|
/external/llvm/lib/Target/Mips/ |
MipsFastISel.cpp | 361 const ConstantInt *CI = cast<ConstantInt>(C); 363 if (CI->isNegative()) 364 Imm = CI->getSExtValue(); 366 Imm = CI->getZExtValue();
|
/external/llvm/lib/Target/PowerPC/ |
PPCCTRLoops.cpp | 200 if (CallInst *CI = dyn_cast<CallInst>(J)) { 201 if (InlineAsm *IA = dyn_cast<InlineAsm>(CI->getCalledValue())) { 219 if (Function *F = CI->getCalledFunction()) { 265 if (CI->getArgOperand(0)->getType()->getScalarType()-> 290 if (!CI->onlyReadsMemory()) 294 if (!CI->getArgOperand(0)->getType()->isFloatingPointTy()) 339 TLI->getSimpleValueType(CI->getArgOperand(0)->getType(), true); 360 CastInst *CI = cast<CastInst>(J); 361 if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() || 362 CI->getDestTy()->getScalarType()->isPPC_FP128Ty() | [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 407 CallInst *CI = cast<CallInst>(Inst); 408 if (IsNullOrUndef(CI->getArgOperand(1))) { 410 ConstantPointerNull::get(cast<PointerType>(CI->getType())); 412 new StoreInst(Null, CI->getArgOperand(0), CI); 414 DEBUG(dbgs() << "OBJCARCContract: Old = " << *CI << "\n" 417 CI->replaceAllUsesWith(Null); 418 CI->eraseFromParent();
|
/external/llvm/lib/Transforms/Utils/ |
BuildLibCalls.cpp | 55 CallInst *CI = B.CreateCall(StrLen, CastToCStr(Ptr, B), "strlen"); 57 CI->setCallingConv(F->getCallingConv()); 59 return CI; 85 CallInst *CI = B.CreateCall2(StrNLen, CastToCStr(Ptr, B), MaxLen, "strnlen"); 87 CI->setCallingConv(F->getCallingConv()); 89 return CI; 112 CallInst *CI = B.CreateCall2(StrChr, CastToCStr(Ptr, B), 115 CI->setCallingConv(F->getCallingConv()); 116 return CI; 142 CallInst *CI = B.CreateCall3(StrNCmp, CastToCStr(Ptr1, B) [all...] |
FlattenCFG.cpp | 181 Instruction *CI = BI++; 182 if (isa<PHINode>(CI) || !isSafeToSpeculativelyExecute(CI)) 243 CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition()); 244 CmpInst::Predicate Predicate = CI->getPredicate(); 247 CI->setPredicate(ICmpInst::getInversePredicate(Predicate)); 428 Instruction *CI = BI; 429 if (isa<PHINode>(CI) || CI->mayHaveSideEffects() || 430 !isSafeToSpeculativelyExecute(CI)) [all...] |
/external/llvm/tools/bugpoint/ |
ExtractFunction.cpp | 246 ConstantInt *CI = dyn_cast<ConstantInt>(CS->getOperand(0)); 247 int Priority = CI ? CI->getSExtValue() : 0;
|
/frameworks/compile/slang/ |
slang_rs_backend.cpp | 384 llvm::CallInst *CI = IB->CreateCall(F, Params); 386 CI->setCallingConv(F->getCallingConv()); 391 IB->CreateRet(CI);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
StringBufferTest.java | 456 public void test_getCharsII$CI() {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldStringBufferTest.java | 48 public void test_getCharsII$CI() {
|
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 572 static raw_ostream *GetOutputStream(CompilerInstance &CI, 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, 596 std::unique_ptr<raw_ostream> OS(GetOutputStream(CI, InFile, BA)); 604 const std::string &LinkBCFile = CI.getCodeGenOpts().LinkBitcodeFile; 609 CI.getFileManager().getBufferForFile(LinkBCFile, &ErrorStr) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
StreamChecker.cpp | 265 Optional<nonloc::ConcreteInt> CI = Whence.getAs<nonloc::ConcreteInt>(); 267 if (!CI) 270 int64_t x = CI->getValue().getSExtValue();
|
/external/clang/test/Analysis/ |
derived-to-base.cpp | 77 class CI : public virtual Intermediate { 82 class DI : public BI, public CI {};
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 297 User *CI = cast<User>(LI.getOperand(0)); 298 Value *CastOp = CI->getOperand(0); 300 PointerType *DestTy = cast<PointerType>(CI->getType()); 342 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); 473 User *CI = cast<User>(SI.getOperand(1)); 474 Value *CastOp = CI->getOperand(0); 476 Type *DestPTy = cast<PointerType>(CI->getType())->getElementType(); 522 cast<PointerType>(CI->getType())->getAddressSpace()) [all...] |
InstCombineShifts.cpp | 83 ConstantInt *CI = nullptr; 84 if ((isLeftShift && match(I, m_LShr(m_Value(), m_ConstantInt(CI)))) || 85 (!isLeftShift && match(I, m_Shl(m_Value(), m_ConstantInt(CI))))) { 86 if (CI->getZExtValue() == NumBits) { 96 CI->getLimitedValue(BitWidth) < BitWidth) { 119 CI = dyn_cast<ConstantInt>(I->getOperand(1)); 120 if (!CI) return false; 126 if (CI->getValue() == NumBits) return true; 132 if (CI->getZExtValue() > NumBits) { 133 unsigned LowBits = TypeWidth - CI->getZExtValue() [all...] |