/external/libcxx/test/std/algorithms/alg.nonmodifying/mismatch/ |
D | mismatch.pass.cpp | 31 typedef input_iterator<const int*> II; in main() typedef 34 assert(std::mismatch(II(ia), II(ia + sa), II(ib)) in main() 35 == (std::pair<II, II>(II(ia+3), II(ib+3)))); in main() 41 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+sb)) in main() 42 == (std::pair<II, II>(II(ia+3), II(ib+3)))); in main() 48 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+2)) in main() 49 == (std::pair<II, II>(II(ia+2), II(ib+2)))); in main()
|
D | mismatch_pred.pass.cpp | 37 typedef input_iterator<const int*> II; in main() typedef 41 assert(std::mismatch(II(ia), II(ia + sa), II(ib), EQ()) in main() 42 == (std::pair<II, II>(II(ia+3), II(ib+3)))); in main() 53 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), EQ()) in main() 54 == (std::pair<II, II>(II(ia+3), II(ib+3)))); in main() 58 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), std::ref(bcp)) in main() 59 == (std::pair<II, II>(II(ia+3), II(ib+3)))); in main()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 200 static Value *SimplifyX86immshift(const IntrinsicInst &II, in SimplifyX86immshift() argument 205 switch (II.getIntrinsicID()) { in SimplifyX86immshift() 250 auto Arg1 = II.getArgOperand(1); in SimplifyX86immshift() 277 auto Vec = II.getArgOperand(0); in SimplifyX86immshift() 310 static Value *SimplifyX86extend(const IntrinsicInst &II, in SimplifyX86extend() argument 313 VectorType *SrcTy = cast<VectorType>(II.getArgOperand(0)->getType()); in SimplifyX86extend() 314 VectorType *DstTy = cast<VectorType>(II.getType()); in SimplifyX86extend() 322 Value *SV = Builder.CreateShuffleVector(II.getArgOperand(0), in SimplifyX86extend() 328 static Value *SimplifyX86insertps(const IntrinsicInst &II, in SimplifyX86insertps() argument 330 if (auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2))) { in SimplifyX86insertps() [all …]
|
/external/opencv/cv/src/ |
D | cvoptflowhs.cpp | 120 icvDerProductEx *II; in icvCalcOpticalFlowHS_8u32fR() local 179 II = (icvDerProductEx *) cvAlloc( BufferSize * sizeof( icvDerProductEx )); in icvCalcOpticalFlowHS_8u32fR() 180 if( (II == NULL) ) in icvCalcOpticalFlowHS_8u32fR() 199 if( II ) in icvCalcOpticalFlowHS_8u32fR() 200 cvFree( &II ); in icvCalcOpticalFlowHS_8u32fR() 260 II[address].xx = GradX * GradX; in icvCalcOpticalFlowHS_8u32fR() 261 II[address].xy = GradX * GradY; in icvCalcOpticalFlowHS_8u32fR() 262 II[address].yy = GradY * GradY; in icvCalcOpticalFlowHS_8u32fR() 263 II[address].xt = GradX * GradT; in icvCalcOpticalFlowHS_8u32fR() 264 II[address].yt = GradY * GradT; in icvCalcOpticalFlowHS_8u32fR() [all …]
|
D | cvoptflowlk.cpp | 126 icvDerProduct *II; in icvCalcOpticalFlowLK_8u32fR() local 215 II = (icvDerProduct *) cvAlloc( BufferSize * sizeof( icvDerProduct )); in icvCalcOpticalFlowLK_8u32fR() 219 if( (II == NULL) || (WII == NULL) ) in icvCalcOpticalFlowLK_8u32fR() 232 if( II ) in icvCalcOpticalFlowLK_8u32fR() 233 cvFree( &II ); in icvCalcOpticalFlowLK_8u32fR() 316 II[address].xx = GradX * GradX; in icvCalcOpticalFlowLK_8u32fR() 317 II[address].xy = GradX * GradY; in icvCalcOpticalFlowLK_8u32fR() 318 II[address].yy = GradY * GradY; in icvCalcOpticalFlowLK_8u32fR() 319 II[address].xt = GradX * GradT; in icvCalcOpticalFlowLK_8u32fR() 320 II[address].yt = GradY * GradT; in icvCalcOpticalFlowLK_8u32fR() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 57 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) { in runOnFunction() local 58 SmallVector<Value*,16> CallArgs(II->op_begin(), II->op_end() - 3); in runOnFunction() 60 CallInst *NewCall = CallInst::Create(II->getCalledValue(), in runOnFunction() 61 CallArgs, "", II); in runOnFunction() 62 NewCall->takeName(II); in runOnFunction() 63 NewCall->setCallingConv(II->getCallingConv()); in runOnFunction() 64 NewCall->setAttributes(II->getAttributes()); in runOnFunction() 65 NewCall->setDebugLoc(II->getDebugLoc()); in runOnFunction() 66 II->replaceAllUsesWith(NewCall); in runOnFunction() 69 BranchInst::Create(II->getNormalDest(), II); in runOnFunction() [all …]
|
D | DemoteRegToStack.cpp | 45 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) { in DemoteRegToStack() local 46 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack() 47 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack() 48 assert(isCriticalEdge(II, SuccNum) && "Expected a critical edge!"); in DemoteRegToStack() 49 BasicBlock *BB = SplitCriticalEdge(II, SuccNum); in DemoteRegToStack() 96 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack() local 97 InsertPt = II.getNormalDest()->getFirstInsertionPt(); in DemoteRegToStack() 126 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { in DemotePHIToStack() local 127 assert(II->getParent() != P->getIncomingBlock(i) && in DemotePHIToStack() 128 "Invoke edge not supported yet"); (void)II; in DemotePHIToStack()
|
/external/libhevc/common/arm/ |
D | ihevc_sao_edge_offset_class0_chroma.s | 156 VLD1.8 D30,[r12]! @II Iteration pu1_cur_row = vld1q_u8(pu1_src_cpy) 157 VLD1.8 D31,[r12] @II Iteration pu1_cur_row = vld1q_u8(pu1_src_cpy) 162 LDRH r11,[r2,#2] @II load pu1_src_left since ht - row =0 166 …VMOV.16 D29[3],r11 @II vsetq_lane_u16(pu1_src_left[ht - row], pu1_cur_row_tmp… 174 …VEXT.8 Q14,Q14,Q15,#14 @II pu1_cur_row_tmp = vextq_u8(pu1_cur_row_tmp, pu1_cur_ro… 177 VCGT.U8 Q13,Q15,Q14 @II vcgtq_u8(pu1_cur_row, pu1_cur_row_tmp) 180 VCLT.U8 Q12,Q15,Q14 @II vcltq_u8(pu1_cur_row, pu1_cur_row_tmp) 185 LDRB r11,[r12,#16] @II pu1_src_cpy[16] 188 …VMOV.8 D28[0],r11 @II pu1_cur_row_tmp = vsetq_lane_u8(pu1_src_cpy[16], pu1_c… 190 LDRB r11,[r12,#17] @II pu1_src_cpy[17] [all …]
|
D | ihevc_sao_edge_offset_class1.s | 145 ADD r6,r10,r1 @II Iteration *pu1_src + src_strd 148 VLD1.8 D30,[r6]! @II pu1_next_row = vld1q_u8(pu1_src_cpy + src_strd) 149 VLD1.8 D31,[r6] @II pu1_next_row = vld1q_u8(pu1_src_cpy + src_strd) 156 …VMOVL.U8 Q13,D18 @II pi2_tmp_cur_row.val[0] = vreinterpretq_s16_u16(vmovl_u… 159 …VMOVL.U8 Q14,D19 @II pi2_tmp_cur_row.val[1] = vreinterpretq_s16_u16(vmovl_u… 162 VCGT.U8 Q11,Q9,Q15 @II vcgtq_u8(pu1_cur_row, pu1_top_row) 166 VCLT.U8 Q12,Q9,Q15 @II vcltq_u8(pu1_cur_row, pu1_top_row) 168 …VSUB.U8 Q4,Q12,Q11 @II sign_down = vreinterpretq_s8_u8(vsubq_u8(cmp_lt, cmp_g… 170 VADD.I8 Q11,Q0,Q8 @II edge_idx = vaddq_s8(const_2, sign_up) 173 VNEG.S8 Q8,Q4 @II sign_up = vnegq_s8(sign_down) [all …]
|
D | ihevc_sao_edge_offset_class0.s | 150 VLD1.8 D26,[r12]! @II Iteration pu1_cur_row = vld1q_u8(pu1_src_cpy) 151 VLD1.8 D27,[r12] @II Iteration pu1_cur_row = vld1q_u8(pu1_src_cpy) 156 LDRB r11,[r2, #1] @II Iteration load pu1_src_left since ht - row + 1 =1 161 …VMOV.8 D29[7],r11 @II Iteration vsetq_lane_u8(pu1_src_left[ht - row], pu1_cu… 169 …VEXT.8 Q14,Q14,Q13,#15 @II Iteration pu1_cur_row_tmp = vextq_u8(pu1_cur_row_tmp, … 170 SUB r5,r9,r8 @II wd - col 174 VCGT.U8 Q15,Q13,Q14 @II vcgtq_u8(pu1_cur_row, pu1_cur_row_tmp) 176 LDRB r11,[r12,#16] @II pu1_src_cpy[16] 178 SUB r14,r10,r4 @II ht - row 180 VCLT.U8 Q0,Q13,Q14 @II vcltq_u8(pu1_cur_row, pu1_cur_row_tmp) [all …]
|
D | ihevc_sao_edge_offset_class1_chroma.s | 150 ADD r6,r10,r1 @II Iteration *pu1_src + src_strd 153 VLD1.8 D30,[r6]! @II pu1_next_row = vld1q_u8(pu1_src_cpy + src_strd) 154 VLD1.8 D31,[r6] @II pu1_next_row = vld1q_u8(pu1_src_cpy + src_strd) 161 …VMOVL.U8 Q13,D18 @II pi2_tmp_cur_row.val[0] = vreinterpretq_s16_u16(vmovl_u… 164 …VMOVL.U8 Q14,D19 @II pi2_tmp_cur_row.val[1] = vreinterpretq_s16_u16(vmovl_u… 167 VCGT.U8 Q11,Q9,Q15 @II vcgtq_u8(pu1_cur_row, pu1_top_row) 171 VCLT.U8 Q12,Q9,Q15 @II vcltq_u8(pu1_cur_row, pu1_top_row) 173 …VSUB.U8 Q14,Q12,Q11 @II sign_down = vreinterpretq_s8_u8(vsubq_u8(cmp_lt, cmp_g… 175 VADD.I8 Q11,Q0,Q8 @II edge_idx = vaddq_s8(const_2, sign_up) 179 VNEG.S8 Q8,Q14 @II sign_up = vnegq_s8(sign_down) [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreRegisterInfo.cpp | 62 static void InsertFPImmInst(MachineBasicBlock::iterator II, in InsertFPImmInst() argument 65 MachineInstr &MI = *II; in InsertFPImmInst() 71 BuildMI(MBB, II, dl, TII.get(XCore::LDW_2rus), Reg) in InsertFPImmInst() 77 BuildMI(MBB, II, dl, TII.get(XCore::STW_2rus)) in InsertFPImmInst() 84 BuildMI(MBB, II, dl, TII.get(XCore::LDAWF_l2rus), Reg) in InsertFPImmInst() 93 static void InsertFPConstInst(MachineBasicBlock::iterator II, in InsertFPConstInst() argument 98 MachineInstr &MI = *II; in InsertFPConstInst() 101 unsigned ScratchOffset = RS->scavengeRegister(&XCore::GRRegsRegClass, II, 0); in InsertFPConstInst() 103 TII.loadImmediate(MBB, II, ScratchOffset, Offset); in InsertFPConstInst() 107 BuildMI(MBB, II, dl, TII.get(XCore::LDW_3r), Reg) in InsertFPConstInst() [all …]
|
/external/clang/lib/Analysis/ |
D | ObjCNoReturn.cpp | 21 static bool isSubclass(const ObjCInterfaceDecl *Class, IdentifierInfo *II) { in isSubclass() argument 24 if (Class->getIdentifier() == II) in isSubclass() 26 return isSubclass(Class->getSuperClass(), II); in isSubclass() 34 SmallVector<IdentifierInfo*, 3> II; in ObjCNoReturn() local 37 II.push_back(&C.Idents.get("raise")); in ObjCNoReturn() 38 II.push_back(&C.Idents.get("format")); in ObjCNoReturn() 40 C.Selectors.getSelector(II.size(), &II[0]); in ObjCNoReturn() 43 II.push_back(&C.Idents.get("arguments")); in ObjCNoReturn() 45 C.Selectors.getSelector(II.size(), &II[0]); in ObjCNoReturn()
|
/external/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 110 for (BasicBlock::const_iterator II = BB->begin(), E = BB->end(); in analyzeBasicBlock() local 111 II != E; ++II) { in analyzeBasicBlock() 113 if (EphValues.count(&*II)) in analyzeBasicBlock() 117 if (isa<CallInst>(II) || isa<InvokeInst>(II)) { in analyzeBasicBlock() 118 ImmutableCallSite CS(cast<Instruction>(II)); in analyzeBasicBlock() 144 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) { in analyzeBasicBlock() 149 if (isa<ExtractElementInst>(II) || II->getType()->isVectorTy()) in analyzeBasicBlock() 152 if (II->getType()->isTokenTy() && II->isUsedOutsideOfBlock(BB)) in analyzeBasicBlock() 155 if (const CallInst *CI = dyn_cast<CallInst>(II)) in analyzeBasicBlock() 159 if (const InvokeInst *InvI = dyn_cast<InvokeInst>(II)) in analyzeBasicBlock() [all …]
|
D | OrderedBasicBlock.cpp | 42 auto II = BB->begin(); in comesBefore() local 45 II = std::next(LastInstFound); in comesBefore() 48 for (; II != IE; ++II) { in comesBefore() 49 Inst = cast<Instruction>(II); in comesBefore() 55 assert(II != IE && "Instruction not found?"); in comesBefore() 57 LastInstFound = II; in comesBefore()
|
/external/clang/include/clang/Basic/ |
D | IdentifierTable.h | 357 IdentifierInfo *const II; variable 360 PoisonIdentifierRAIIObject(IdentifierInfo *II, bool NewValue) in PoisonIdentifierRAIIObject() argument 361 : II(II), OldValue(II ? II->isPoisoned() : false) { in PoisonIdentifierRAIIObject() 362 if(II) in PoisonIdentifierRAIIObject() 363 II->setIsPoisoned(NewValue); in PoisonIdentifierRAIIObject() 367 if(II) in ~PoisonIdentifierRAIIObject() 368 II->setIsPoisoned(OldValue); in ~PoisonIdentifierRAIIObject() 464 IdentifierInfo *&II = Entry.second; in get() local 465 if (II) return *II; in get() 469 II = ExternalLookup->get(Name); in get() [all …]
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 37 Preprocessor::getLocalMacroDirectiveHistory(const IdentifierInfo *II) const { in getLocalMacroDirectiveHistory() 38 if (!II->hadMacroDefinition()) in getLocalMacroDirectiveHistory() 40 auto Pos = CurSubmoduleState->Macros.find(II); in getLocalMacroDirectiveHistory() 45 void Preprocessor::appendMacroDirective(IdentifierInfo *II, MacroDirective *MD){ in appendMacroDirective() argument 49 MacroState &StoredMD = CurSubmoduleState->Macros[II]; in appendMacroDirective() 53 StoredMD.overrideActiveModuleMacros(*this, II); in appendMacroDirective() 56 II->setHasMacroDefinition(true); in appendMacroDirective() 57 if (!MD->isDefined() && LeafModuleMacros.find(II) == LeafModuleMacros.end()) in appendMacroDirective() 58 II->setHasMacroDefinition(false); in appendMacroDirective() 59 if (II->isFromAST()) in appendMacroDirective() [all …]
|
D | Preprocessor.cpp | 296 CurSubmoduleState->Macros.insert(std::make_pair(Macro.II, MacroState())); in macro_begin() 443 if (const IdentifierInfo *II = Tok.getIdentifierInfo()) in getSpelling() local 444 return II->getName(); in getSpelling() 547 IdentifierInfo *II; in LookUpIdentifierInfo() local 550 II = getIdentifierInfo(Identifier.getRawIdentifier()); in LookUpIdentifierInfo() 559 II = getIdentifierInfo(UCNIdentifierBuffer); in LookUpIdentifierInfo() 561 II = getIdentifierInfo(CleanedStr); in LookUpIdentifierInfo() 566 Identifier.setIdentifierInfo(II); in LookUpIdentifierInfo() 567 Identifier.setKind(II->getTokenID()); in LookUpIdentifierInfo() 569 return II; in LookUpIdentifierInfo() [all …]
|
/external/llvm/include/llvm/IR/ |
D | CallSite.h | 55 CallSiteBase(InvokeTy *II) : I(II, false) { assert(II); } in CallSiteBase() argument 56 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase() argument 65 if (InstrTy *II = dyn_cast<InstrTy>(V)) { in get() local 66 if (II->getOpcode() == Instruction::Call) in get() 67 return CallSiteBase(static_cast<CallTy*>(II)); in get() 68 else if (II->getOpcode() == Instruction::Invoke) in get() 69 return CallSiteBase(static_cast<InvokeTy*>(II)); in get() 205 InstrTy *II = getInstruction(); \ 207 ? cast<CallInst>(II)->METHOD \ 208 : cast<InvokeInst>(II)->METHOD [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 320 void PPCRegisterInfo::lowerDynamicAlloc(MachineBasicBlock::iterator II) const { in lowerDynamicAlloc() 322 MachineInstr &MI = *II; in lowerDynamicAlloc() 359 BuildMI(MBB, II, dl, TII.get(PPC::ADDI), Reg) in lowerDynamicAlloc() 363 BuildMI(MBB, II, dl, TII.get(PPC::LD), Reg) in lowerDynamicAlloc() 367 BuildMI(MBB, II, dl, TII.get(PPC::LWZ), Reg) in lowerDynamicAlloc() 384 BuildMI(MBB, II, dl, TII.get(PPC::LI8), NegSizeReg) in lowerDynamicAlloc() 389 BuildMI(MBB, II, dl, TII.get(PPC::AND8), NegSizeReg) in lowerDynamicAlloc() 395 BuildMI(MBB, II, dl, TII.get(PPC::STDUX), PPC::X1) in lowerDynamicAlloc() 399 BuildMI(MBB, II, dl, TII.get(PPC::ADDI8), MI.getOperand(0).getReg()) in lowerDynamicAlloc() 409 BuildMI(MBB, II, dl, TII.get(PPC::LI), NegSizeReg) in lowerDynamicAlloc() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | PruneEH.cpp | 187 if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator())) in SimplifyFunction() local 188 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) { in SimplifyFunction() 189 SmallVector<Value*, 8> Args(II->arg_begin(), II->arg_end()); in SimplifyFunction() 191 II->getOperandBundlesAsDefs(OpBundles); in SimplifyFunction() 194 CallInst *Call = CallInst::Create(II->getCalledValue(), Args, OpBundles, in SimplifyFunction() 195 "", II); in SimplifyFunction() 196 Call->takeName(II); in SimplifyFunction() 197 Call->setCallingConv(II->getCallingConv()); in SimplifyFunction() 198 Call->setAttributes(II->getAttributes()); in SimplifyFunction() 199 Call->setDebugLoc(II->getDebugLoc()); in SimplifyFunction() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.cpp | 24 static bool readsThreadIndex(const IntrinsicInst *II) { in readsThreadIndex() argument 25 switch (II->getIntrinsicID()) { in readsThreadIndex() 34 static bool readsLaneId(const IntrinsicInst *II) { in readsLaneId() argument 35 return II->getIntrinsicID() == Intrinsic::ptx_read_laneid; in readsLaneId() 39 static bool isNVVMAtomic(const IntrinsicInst *II) { in isNVVMAtomic() argument 40 switch (II->getIntrinsicID()) { in isNVVMAtomic() 73 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isSourceOfDivergence() local 75 if (readsThreadIndex(II) || readsLaneId(II)) in isSourceOfDivergence() 79 if (isNVVMAtomic(II)) in isSourceOfDivergence()
|
/external/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 144 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in AddDecl() local 145 updatingIdentifier(*II); in AddDecl() 169 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in InsertDeclAfter() local 170 updatingIdentifier(*II); in InsertDeclAfter() 210 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in RemoveDecl() local 211 updatingIdentifier(*II); in RemoveDecl() 229 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in begin() local 230 readingIdentifier(*II); in begin() 299 if (IdentifierInfo *II = Name.getAsIdentifierInfo()) in tryAddTopLevelDecl() local 300 readingIdentifier(*II); in tryAddTopLevelDecl() [all …]
|
/external/clang/include/clang/Lex/ |
D | Preprocessor.h | 66 IdentifierInfo *II; variable 69 TokenValue(tok::TokenKind Kind) : Kind(Kind), II(nullptr) { in TokenValue() 76 TokenValue(IdentifierInfo *II) : Kind(tok::identifier), II(II) {} in TokenValue() argument 79 (!II || II == Tok.getIdentifierInfo()); 395 const IdentifierInfo *II) const { in getModuleInfo() argument 398 if (!II->hasMacroDefinition() || in getModuleInfo() 413 PP.updateModuleMacroInfo(II, *Info); in getModuleInfo() 446 bool isAmbiguous(Preprocessor &PP, const IdentifierInfo *II) const { in isAmbiguous() argument 447 auto *Info = getModuleInfo(PP, II); in isAmbiguous() 451 getActiveModuleMacros(Preprocessor &PP, const IdentifierInfo *II) const { in getActiveModuleMacros() argument [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NSErrorChecker.cpp | 32 static bool IsNSError(QualType T, IdentifierInfo *II); 33 static bool IsCFError(QualType T, IdentifierInfo *II); 42 mutable IdentifierInfo *II; member in __anon62cb20750111::NSErrorMethodChecker 45 NSErrorMethodChecker() : II(nullptr) {} in NSErrorMethodChecker() 60 if (!II) in checkASTDecl() 61 II = &D->getASTContext().Idents.get("NSError"); in checkASTDecl() 65 if (IsNSError(I->getType(), II)) { in checkASTDecl() 89 mutable IdentifierInfo *II; member in __anon62cb20750211::CFErrorFunctionChecker 92 CFErrorFunctionChecker() : II(nullptr) {} in CFErrorFunctionChecker() 107 if (!II) in checkASTDecl() [all …]
|