/prebuilts/go/darwin-x86/test/interface/ |
pointer.go | 12 type Inst interface { 13 Next() *Inst 17 code []Inst 18 start Inst 22 foo *Inst 25 func (start *Start) Next() *Inst { return nil } 28 func AddInst(Inst) *Inst { 35 var x Inst = AddInst(new(Start)) // ERROR "pointer to interface" 37 var y *Inst = new(Start) // ERROR "pointer to interface|incompatible type [all...] |
/prebuilts/go/linux-x86/test/interface/ |
pointer.go | 12 type Inst interface { 13 Next() *Inst 17 code []Inst 18 start Inst 22 foo *Inst 25 func (start *Start) Next() *Inst { return nil } 28 func AddInst(Inst) *Inst { 35 var x Inst = AddInst(new(Start)) // ERROR "pointer to interface" 37 var y *Inst = new(Start) // ERROR "pointer to interface|incompatible type [all...] |
/external/llvm/lib/Analysis/ |
OrderedBasicBlock.cpp | 37 const Instruction *Inst = nullptr; 49 Inst = cast<Instruction>(II); 50 NumberedInsts[Inst] = NextInstPos++; 51 if (Inst == A || Inst == B) 56 assert((Inst == A || Inst == B) && "Should find A or B"); 58 return Inst == A;
|
Loads.cpp | 215 Instruction *Inst = &*--ScanFrom; 216 if (isa<DbgInfoIntrinsic>(Inst)) 230 if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) 239 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) { 271 if (Inst->mayWriteToMemory()) { 275 (AA->getModRefInfo(Inst, StrippedPtr, AccessSize) & MRI_Mod) == 0)
|
Delinearization.cpp | 73 static Value *getPointerOperand(Instruction &Inst) { 74 if (LoadInst *Load = dyn_cast<LoadInst>(&Inst)) 76 else if (StoreInst *Store = dyn_cast<StoreInst>(&Inst)) 78 else if (GetElementPtrInst *Gep = dyn_cast<GetElementPtrInst>(&Inst)) 86 Instruction *Inst = &(*I); 89 if (!isa<StoreInst>(Inst) && !isa<LoadInst>(Inst) && 90 !isa<GetElementPtrInst>(Inst)) 93 const BasicBlock *BB = Inst->getParent(); 97 const SCEV *AccessFn = SE->getSCEVAtScope(getPointerOperand(*Inst), L) [all...] |
MemDepPrinter.cpp | 73 static InstTypePair getInstTypePair(const Instruction* inst, DepType type) { 74 return InstTypePair(inst, type); 100 Instruction *Inst = &I; 102 if (!Inst->mayReadFromMemory() && !Inst->mayWriteToMemory()) 105 MemDepResult Res = MDA.getDependency(Inst); 107 Deps[Inst].insert(std::make_pair(getInstTypePair(Res), 109 } else if (auto CS = CallSite(Inst)) { 113 DepSet &InstDeps = Deps[Inst]; 121 assert( (isa<LoadInst>(Inst) || isa<StoreInst>(Inst) | [all...] |
PHITransAddr.cpp | 25 static bool CanPHITrans(Instruction *Inst) { 26 if (isa<PHINode>(Inst) || 27 isa<GetElementPtrInst>(Inst)) 30 if (isa<CastInst>(Inst) && 31 isSafeToSpeculativelyExecute(Inst)) 34 if (Inst->getOpcode() == Instruction::Add && 35 isa<ConstantInt>(Inst->getOperand(1))) 118 Instruction *Inst = dyn_cast<Instruction>(Addr); 119 return !Inst || CanPHITrans(Inst); [all...] |
/external/clang/test/Parser/ |
cxx-default-args.cpp | 10 typedef struct Inst {
|
/external/llvm/include/llvm/MC/ |
MCInstBuilder.h | 23 MCInst Inst; 28 Inst.setOpcode(Opcode); 33 Inst.addOperand(MCOperand::createReg(Reg)); 39 Inst.addOperand(MCOperand::createImm(Val)); 45 Inst.addOperand(MCOperand::createFPImm(Val)); 51 Inst.addOperand(MCOperand::createExpr(Val)); 57 Inst.addOperand(MCOperand::createInst(Val)); 63 Inst.addOperand(Op); 68 return Inst;
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MCTargetDesc.cpp | 69 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); 70 MAI->addInitialFrameState(Inst);
|
/external/llvm/lib/Target/Mips/ |
MipsAnalyzeImmediate.cpp | 15 MipsAnalyzeImmediate::Inst::Inst(unsigned O, unsigned I) : Opc(O), ImmOpnd(I) {} 18 void MipsAnalyzeImmediate::AddInstr(InstSeqLs &SeqLs, const Inst &I) { 32 AddInstr(SeqLs, Inst(ADDiu, Imm & 0xffffULL)); 38 AddInstr(SeqLs, Inst(ORi, Imm & 0xffffULL)); 45 AddInstr(SeqLs, Inst(SLL, Shamt)); 58 AddInstr(SeqLs, Inst(ADDiu, MaskedImm));
|
MipsAnalyzeImmediate.h | 19 struct Inst { 21 Inst(unsigned Opc, unsigned ImmOpnd); 23 typedef SmallVector<Inst, 7 > InstSeq; 33 void AddInstr(InstSeqLs &SeqLs, const Inst &I);
|
MipsOs16.cpp | 82 const Instruction &Inst = *I; 83 switch (Inst.getOpcode()) {
|
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyOptimizeReturned.cpp | 58 Instruction *Inst = CS.getInstruction(); 66 if (DT->dominates(Inst, U)) 67 U.set(Inst);
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCAPElim.cpp | 96 Instruction *Inst = &*I++; 97 switch (GetBasicARCInstKind(Inst)) { 99 Push = Inst; 104 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) { 108 " Pop: " << *Inst << "\n" 110 Inst->eraseFromParent(); 116 if (MayAutorelease(ImmutableCallSite(Inst)))
|
ObjCARCExpand.cpp | 98 Instruction *Inst = &*I; 100 DEBUG(dbgs() << "ObjCARCExpand: Visiting: " << *Inst << "\n"); 102 switch (GetBasicARCInstKind(Inst)) { 114 Value *Value = cast<CallInst>(Inst)->getArgOperand(0); 115 DEBUG(dbgs() << "ObjCARCExpand: Old = " << *Inst << "\n" 117 Inst->replaceAllUsesWith(Value);
|
DependencyAnalysis.cpp | 35 bool llvm::objcarc::CanAlterRefCount(const Instruction *Inst, const Value *Ptr, 48 ImmutableCallSite CS(Inst); 56 const DataLayout &DL = Inst->getModule()->getDataLayout(); 71 bool llvm::objcarc::CanDecrementRefCount(const Instruction *Inst, 80 return CanAlterRefCount(Inst, Ptr, PA, Class); 85 bool llvm::objcarc::CanUse(const Instruction *Inst, const Value *Ptr, 92 const DataLayout &DL = Inst->getModule()->getDataLayout(); 96 if (const ICmpInst *ICI = dyn_cast<ICmpInst>(Inst)) { 102 } else if (auto CS = ImmutableCallSite(Inst)) { 112 } else if (const StoreInst *SI = dyn_cast<StoreInst>(Inst)) { [all...] |
/external/llvm/lib/Transforms/Scalar/ |
DCE.cpp | 10 // This file implements dead inst elimination and dead code elimination. 12 // Dead Inst Elimination performs a single pass over the function removing 50 Instruction *Inst = &*DI++; 51 if (isInstructionTriviallyDead(Inst, TLI)) { 52 Inst->eraseFromParent();
|
LowerAtomic.cpp | 123 Instruction *Inst = &*DI++; 124 if (FenceInst *FI = dyn_cast<FenceInst>(Inst)) 126 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst)) 128 else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(Inst)) 130 else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) { 133 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_variable.h | 48 struct rc_instruction * Inst;
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInvariant.cpp | 113 llvm::Instruction *Inst = llvm::cast<llvm::Instruction>(Use.getUser()); 122 if (auto BitCast = llvm::dyn_cast<llvm::BitCastInst>(Inst)) { 124 } else if (auto GetElementPtr = llvm::dyn_cast<llvm::GetElementPtrInst>(Inst)) { 127 } else if (auto Load = llvm::dyn_cast<llvm::LoadInst>(Inst)) {
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsMCTargetDesc.cpp | 79 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, SP, 0); 80 MAI->addInitialFrameState(Inst);
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
SparcMCTargetDesc.cpp | 40 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0); 41 MAI->addInitialFrameState(Inst); 49 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 2047); 50 MAI->addInitialFrameState(Inst);
|
/external/llvm/tools/llvm-mc/ |
Disassembler.cpp | 46 MCInst Inst; 49 S = DisAsm.getInstruction(Inst, Size, Data.slice(Index), Index, 72 Streamer.EmitInstruction(Inst, STI);
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MCTargetDesc.cpp | 142 MCCFIInstruction Inst = MCCFIInstruction::createDefCfa( 144 MAI->addInitialFrameState(Inst);
|