/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 270 static raw_ostream *GetOutputStream(CompilerInstance &CI, 275 return CI.createDefaultOutputFile(false, InFile, "s"); 277 return CI.createDefaultOutputFile(false, InFile, "ll"); 279 return CI.createDefaultOutputFile(true, InFile, "bc"); 284 return CI.createDefaultOutputFile(true, InFile, "o"); 290 ASTConsumer *CodeGenAction::CreateASTConsumer(CompilerInstance &CI, 293 llvm::OwningPtr<raw_ostream> OS(GetOutputStream(CI, InFile, BA)); 298 new BackendConsumer(BA, CI.getDiagnostics(), 299 CI.getCodeGenOpts(), CI.getTargetOpts() [all...] |
/external/llvm/include/llvm/ |
AutoUpgrade.h | 31 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
|
/external/llvm/lib/Transforms/Scalar/ |
CodeGenPrepare.cpp | 110 bool OptimizeCallInst(CallInst *CI); 365 static bool OptimizeNoopCopyExpression(CastInst *CI, const TargetLowering &TLI){ 367 EVT SrcVT = TLI.getValueType(CI->getOperand(0)->getType()); 368 EVT DstVT = TLI.getValueType(CI->getType()); 381 if (TLI.getTypeAction(CI->getContext(), SrcVT) == 383 SrcVT = TLI.getTypeToTransformTo(CI->getContext(), SrcVT); 384 if (TLI.getTypeAction(CI->getContext(), DstVT) == 386 DstVT = TLI.getTypeToTransformTo(CI->getContext(), DstVT); 392 BasicBlock *DefBB = CI->getParent(); 398 for (Value::use_iterator UI = CI->use_begin(), E = CI->use_end() [all...] |
/external/llvm/lib/VMCore/ |
IRBuilder.cpp | 57 CallInst *CI = CallInst::Create(Callee, Ops, ""); 58 Builder->GetInsertBlock()->getInstList().insert(Builder->GetInsertPoint(),CI); 59 Builder->SetInstDebugLocation(CI); 60 return CI; 72 CallInst *CI = createCallHelper(TheFn, Ops, this); 76 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); 78 return CI; 92 CallInst *CI = createCallHelper(TheFn, Ops, this); 96 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); 98 return CI; [all...] |
Instruction.cpp | 207 if (const CmpInst *CI = dyn_cast<CmpInst>(this)) 208 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate(); 209 if (const CallInst *CI = dyn_cast<CallInst>(this)) 210 return CI->isTailCall() == cast<CallInst>(I)->isTailCall() && 211 CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() && 212 CI->getAttributes() == cast<CallInst>(I)->getAttributes(); 213 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this)) 214 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && 215 CI->getAttributes() == cast<InvokeInst>(I)->getAttributes(); 262 if (const CmpInst *CI = dyn_cast<CmpInst>(this) [all...] |
/external/clang/examples/PrintFunctionNames/ |
PrintFunctionNames.cpp | 37 ASTConsumer *CreateASTConsumer(CompilerInstance &CI, llvm::StringRef) { 41 bool ParseArgs(const CompilerInstance &CI, 48 DiagnosticsEngine &D = CI.getDiagnostics();
|
/external/llvm/lib/CodeGen/ |
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...] |
MachineLICM.cpp | 142 CI = CSEMap.begin(), CE = CSEMap.end(); CI != CE; ++CI) 143 CI->second.clear(); 258 DenseMap<unsigned, std::vector<const MachineInstr*> >::iterator &CI); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombine.h | 151 Instruction *FoldICmpAddOpCst(ICmpInst &ICI, Value *X, ConstantInt *CI, 157 Instruction *commonCastTransforms(CastInst &CI); 158 Instruction *commonPointerCastTransforms(CastInst &CI); 159 Instruction *visitTrunc(TruncInst &CI); 160 Instruction *visitZExt(ZExtInst &CI); 161 Instruction *visitSExt(SExtInst &CI); 162 Instruction *visitFPTrunc(FPTruncInst &CI); 163 Instruction *visitFPExt(CastInst &CI); 166 Instruction *visitUIToFP(CastInst &CI); 167 Instruction *visitSIToFP(CastInst &CI); [all...] |
InstCombineCalls.cpp | 172 Instruction *InstCombiner::visitCallInst(CallInst &CI) { 173 if (isFreeCall(&CI)) 174 return visitFree(CI); 175 if (isMalloc(&CI)) 176 return visitMalloc(CI); 180 if (CI.getParent()->getParent()->doesNotThrow() && 181 !CI.doesNotThrow()) { 182 CI.setDoesNotThrow(); 183 return &CI; 186 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&CI); [all...] |
InstCombineAddSub.cpp | 98 if (ConstantInt *CI = dyn_cast<ConstantInt>(RHS)) { 100 const APInt &Val = CI->getValue(); 112 return SelectInst::Create(ZI->getOperand(0), AddOne(CI), CI); 117 const APInt &RHSVal = CI->getValue(); 292 Constant *CI = 295 ConstantExpr::getSExt(CI, I.getType()) == RHSC && 296 WillNotOverflowSignedAdd(LHSConv->getOperand(0), CI)) { 299 CI, "addconv"); 365 Constant *CI = [all...] |
/external/clang/lib/Frontend/ |
CreateInvocationFromCommandLine.cpp | 83 CompilerInvocation *CI = new CompilerInvocation(); 84 CompilerInvocation::CreateFromArgs(*CI, 89 return CI;
|
/build/tools/droiddoc/test/generics/src/com/android/generics/ |
FooBar.java | 24 public class CI extends C implements Iface
|
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 275 ConstantInt *CI = dyn_cast<ConstantInt>(Idx); 276 if (!CI) return 0; 277 unsigned IdxV = CI->getZExtValue(); 653 } else if (const CallInst *CI = dyn_cast<CallInst>(U)) { 654 if (CI->getCalledValue() != V) { 663 } else if (const BitCastInst *CI = dyn_cast<BitCastInst>(U)) { 664 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; 737 } else if (CastInst *CI = dyn_cast<CastInst>(I)) { 738 Changed |= OptimizeAwayTrappingUsesOfValue(CI, 739 ConstantExpr::getCast(CI->getOpcode() [all...] |
PruneEH.cpp | 116 if (CallInst *CI = dyn_cast<CallInst>(I)) { 117 if (CI->doesNotThrow()) { 119 } else if (Function *Callee = CI->getCalledFunction()) { 209 if (CallInst *CI = dyn_cast<CallInst>(I++)) 210 if (CI->doesNotReturn() && !isa<UnreachableInst>(I)) { 241 if (CallInst *CI = dyn_cast<CallInst>(I)) { 243 CGN->removeCallEdgeFor(CI);
|
/external/clang/include/clang/ARCMigrate/ |
ARCMT.h | 39 bool checkForManualIssues(CompilerInvocation &CI, 89 MigrationProcess(const CompilerInvocation &CI, DiagnosticConsumer *diagClient,
|
FileRemapper.h | 55 void applyMappings(CompilerInvocation &CI) const; 57 void transferMappingsAndClear(CompilerInvocation &CI);
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 120 CompilerInvocation CI; 121 CompilerInvocation::CreateFromArgs(CI, Args.begin(), Args.end(), *Diags); 123 if (CI.getFrontendOpts().Inputs.empty()) { 128 if (!CI.getLangOpts().ObjC1) 131 arcmt::checkForManualIssues(CI, 132 CI.getFrontendOpts().Inputs[0].second, 133 CI.getFrontendOpts().Inputs[0].first, 139 CompilerInvocation CI; 140 remapper.applyMappings(CI); 141 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts() [all...] |
/external/llvm/utils/TableGen/ |
AsmMatcherEmitter.cpp | 536 ClassInfo *CI; 538 static OperandMatchEntry Create(MatchableInfo* mi, ClassInfo *ci, 542 X.CI = ci; 884 if (ClassInfo *CI = AsmOperandClasses[MatchClass]) 885 return CI; 893 if (ClassInfo *CI = RegisterClassClasses[ClassRec]) 894 return CI; 900 if (ClassInfo *CI = RegisterClassClasses[Rec]) 901 return CI; [all...] |
/external/llvm/lib/Transforms/Utils/ |
AddrModeMatcher.cpp | 100 ConstantInt *CI = 0; Value *AddLHS = 0; 102 match(ScaleReg, m_Add(m_Value(AddLHS), m_ConstantInt(CI)))) { 104 TestAddrMode.BaseOffs += CI->getSExtValue()*TestAddrMode.Scale; 232 if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) { 233 ConstantOffset += CI->getSExtValue()*TypeSize; 311 if (ConstantInt *CI = dyn_cast<ConstantInt>(Addr)) { 313 AddrMode.BaseOffs += CI->getSExtValue(); 316 AddrMode.BaseOffs -= CI->getSExtValue(); 381 static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal, 383 TargetLowering::AsmOperandInfoVector TargetConstraints = TLI.ParseConstraints(ImmutableCallSite(CI)); [all...] |
/external/llvm/include/llvm/Support/ |
CallSite.h | 52 CallSiteBase(CallTy *CI) : I(CI, true) { assert(CI); } 274 CallSite(CallInst *CI) : Base(CI) {} 293 ImmutableCallSite(const CallInst *CI) : Base(CI) {}
|
/external/llvm/lib/Analysis/ |
BranchProbabilityInfo.cpp | 227 ICmpInst *CI = dyn_cast<ICmpInst>(Cond); 228 if (!CI || !CI->isEquality()) 231 Value *LHS = CI->getOperand(0); 236 assert(CI->getOperand(1)->getType()->isPointerTy()); 245 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; 326 ICmpInst *CI = dyn_cast<ICmpInst>(Cond); 327 if (!CI) 330 Value *RHS = CI->getOperand(1); 337 switch (CI->getPredicate()) [all...] |
/external/clang/examples/clang-interpreter/ |
main.cpp | 113 llvm::OwningPtr<CompilerInvocation> CI(new CompilerInvocation); 114 CompilerInvocation::CreateFromArgs(*CI, 121 if (CI->getHeaderSearchOpts().Verbose) { 131 Clang.setInvocation(CI.take());
|
/external/clang/include/clang/CodeGen/ |
CodeGenAction.h | 39 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
|
/external/clang/lib/Index/ |
CallGraph.cpp | 118 for (CallGraphNode::iterator CI = I->second->begin(), 119 CE = I->second->end(); CI != CE; ++CI) { 120 os << " " << CI->second->getName();
|