Lines Matching refs:SPIRVEmitIntrinsics
64 class SPIRVEmitIntrinsics class
66 public InstVisitor<SPIRVEmitIntrinsics, Instruction *> {
149 SPIRVEmitIntrinsics() : ModulePass(ID) { in SPIRVEmitIntrinsics() function in __anon21a763720111::SPIRVEmitIntrinsics
152 SPIRVEmitIntrinsics(SPIRVTargetMachine *_TM) : ModulePass(ID), TM(_TM) { in SPIRVEmitIntrinsics() function in __anon21a763720111::SPIRVEmitIntrinsics
192 char SPIRVEmitIntrinsics::ID = 0;
194 INITIALIZE_PASS(SPIRVEmitIntrinsics, "emit-intrinsics", "SPIRV emit intrinsics",
282 void SPIRVEmitIntrinsics::buildAssignType(IRBuilder<> &B, Type *Ty, in buildAssignType()
290 void SPIRVEmitIntrinsics::buildAssignPtr(IRBuilder<> &B, Type *ElemTy, in buildAssignPtr()
307 void SPIRVEmitIntrinsics::updateAssignType(CallInst *AssignCI, Value *Arg, in updateAssignType()
323 SPIRVEmitIntrinsics::deduceElementTypeByValueDeep(Type *ValueTy, Value *Operand, in deduceElementTypeByValueDeep()
330 Type *SPIRVEmitIntrinsics::deduceElementTypeByValueDeep( in deduceElementTypeByValueDeep()
348 Type *SPIRVEmitIntrinsics::deduceElementTypeByUsersDeep( in deduceElementTypeByUsersDeep()
384 Type *SPIRVEmitIntrinsics::deduceElementTypeHelper(Value *I, in deduceElementTypeHelper()
390 void SPIRVEmitIntrinsics::maybeAssignPtrType(Type *&Ty, Value *Op, Type *RefTy, in maybeAssignPtrType()
403 Type *SPIRVEmitIntrinsics::deduceElementTypeHelper( in deduceElementTypeHelper()
497 Type *SPIRVEmitIntrinsics::deduceNestedTypeHelper(User *U, in deduceNestedTypeHelper()
503 Type *SPIRVEmitIntrinsics::deduceNestedTypeHelper( in deduceNestedTypeHelper()
584 Type *SPIRVEmitIntrinsics::deduceElementType(Value *I, bool UnknownElemTypeI8) { in deduceElementType()
613 void SPIRVEmitIntrinsics::deduceOperandElementType(Instruction *I, in deduceOperandElementType()
816 void SPIRVEmitIntrinsics::replaceMemInstrUses(Instruction *Old, in replaceMemInstrUses()
838 void SPIRVEmitIntrinsics::preprocessUndefs(IRBuilder<> &B) { in preprocessUndefs()
866 void SPIRVEmitIntrinsics::preprocessCompositeConstants(IRBuilder<> &B) { in preprocessCompositeConstants()
922 Instruction *SPIRVEmitIntrinsics::visitCallInst(CallInst &Call) { in visitCallInst()
943 Instruction *SPIRVEmitIntrinsics::visitSwitchInst(SwitchInst &I) { in visitSwitchInst()
976 Instruction *SPIRVEmitIntrinsics::visitGetElementPtrInst(GetElementPtrInst &I) { in visitGetElementPtrInst()
990 Instruction *SPIRVEmitIntrinsics::visitBitCastInst(BitCastInst &I) { in visitBitCastInst()
1015 void SPIRVEmitIntrinsics::insertAssignPtrTypeTargetExt( in insertAssignPtrTypeTargetExt()
1050 void SPIRVEmitIntrinsics::replacePointerOperandWithPtrCast( in replacePointerOperandWithPtrCast()
1122 void SPIRVEmitIntrinsics::insertPtrCastOrAssignTypeInstr(Instruction *I, in insertPtrCastOrAssignTypeInstr()
1223 Instruction *SPIRVEmitIntrinsics::visitInsertElementInst(InsertElementInst &I) { in visitInsertElementInst()
1239 SPIRVEmitIntrinsics::visitExtractElementInst(ExtractElementInst &I) { in visitExtractElementInst()
1253 Instruction *SPIRVEmitIntrinsics::visitInsertValueInst(InsertValueInst &I) { in visitInsertValueInst()
1271 Instruction *SPIRVEmitIntrinsics::visitExtractValueInst(ExtractValueInst &I) { in visitExtractValueInst()
1286 Instruction *SPIRVEmitIntrinsics::visitLoadInst(LoadInst &I) { in visitLoadInst()
1303 Instruction *SPIRVEmitIntrinsics::visitStoreInst(StoreInst &I) { in visitStoreInst()
1321 Instruction *SPIRVEmitIntrinsics::visitAllocaInst(AllocaInst &I) { in visitAllocaInst()
1348 Instruction *SPIRVEmitIntrinsics::visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { in visitAtomicCmpXchgInst()
1366 Instruction *SPIRVEmitIntrinsics::visitUnreachableInst(UnreachableInst &I) { in visitUnreachableInst()
1373 void SPIRVEmitIntrinsics::processGlobalValue(GlobalVariable &GV, in processGlobalValue()
1398 bool SPIRVEmitIntrinsics::insertAssignPtrTypeIntrs(Instruction *I, in insertAssignPtrTypeIntrs()
1414 void SPIRVEmitIntrinsics::insertAssignTypeIntrs(Instruction *I, in insertAssignTypeIntrs()
1491 void SPIRVEmitIntrinsics::insertSpirvDecorations(Instruction *I, in insertSpirvDecorations()
1500 void SPIRVEmitIntrinsics::processInstrAfterVisit(Instruction *I, in processInstrAfterVisit()
1546 Type *SPIRVEmitIntrinsics::deduceFunParamElementType(Function *F, in deduceFunParamElementType()
1552 Type *SPIRVEmitIntrinsics::deduceFunParamElementType( in deduceFunParamElementType()
1608 void SPIRVEmitIntrinsics::processParamTypesByFunHeader(Function *F, in processParamTypesByFunHeader()
1622 void SPIRVEmitIntrinsics::processParamTypes(Function *F, IRBuilder<> &B) { in processParamTypes()
1634 bool SPIRVEmitIntrinsics::runOnFunction(Function &Func) { in runOnFunction()
1712 bool SPIRVEmitIntrinsics::postprocessTypes() { in postprocessTypes()
1737 bool SPIRVEmitIntrinsics::runOnModule(Module &M) { in runOnModule()
1761 return new SPIRVEmitIntrinsics(TM); in createSPIRVEmitIntrinsicsPass()