Home
last modified time | relevance | path

Searched refs:CallTarget (Results 1 – 25 of 46) sorted by relevance

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RetpolineThunks.cpp250 MachineBasicBlock *CallTarget = MF.CreateMachineBasicBlock(Entry->getBasicBlock()); in populateThunk() local
253 MF.push_back(CallTarget); in populateThunk()
280 CallTarget->addLiveIn(Reg); in populateThunk()
281 CallTarget->setHasAddressTaken(); in populateThunk()
282 CallTarget->setAlignment(Align(16)); in populateThunk()
283 insertRegReturnAddrClobber(*CallTarget, Reg); in populateThunk()
284 CallTarget->back().setPreInstrSymbol(MF, TargetSym); in populateThunk()
285 BuildMI(CallTarget, DebugLoc(), TII->get(RetOpc)); in populateThunk()
/external/llvm-project/llvm/lib/Target/X86/
DX86IndirectThunks.cpp209 MachineBasicBlock *CallTarget = in populateThunk() local
213 MF.push_back(CallTarget); in populateThunk()
240 CallTarget->addLiveIn(ThunkReg); in populateThunk()
241 CallTarget->setHasAddressTaken(); in populateThunk()
242 CallTarget->setAlignment(Align(16)); in populateThunk()
247 addRegOffset(BuildMI(CallTarget, DebugLoc(), TII->get(MovOpc)), SPReg, false, in populateThunk()
251 CallTarget->back().setPreInstrSymbol(MF, TargetSym); in populateThunk()
252 BuildMI(CallTarget, DebugLoc(), TII->get(RetOpc)); in populateThunk()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8664.cpp642 Inst *TargetX8664::emitCallToTarget(Operand *CallTarget, Variable *ReturnReg, in emitCallToTarget() argument
645 auto *CallTargetR = llvm::dyn_cast<Variable>(CallTarget); in emitCallToTarget()
701 CallTarget = T64; in emitCallToTarget()
703 NewCall = Context.insert<Traits::Insts::Jmp>(CallTarget); in emitCallToTarget()
711 if (CallTargetR != nullptr && CallTarget->getType() == IceType_i32) { in emitCallToTarget()
716 CallTarget = T; in emitCallToTarget()
718 } else if (CallTarget->getType() == IceType_i64) { in emitCallToTarget()
731 if (llvm::isa<Constant>(CallTarget)) { in emitCallToTarget()
733 _mov(T, CallTarget); in emitCallToTarget()
734 CallTarget = T; in emitCallToTarget()
[all …]
DIceTargetLoweringX8632.cpp349 Inst *TargetX8632::emitCallToTarget(Operand *CallTarget, Variable *ReturnReg, in emitCallToTarget() argument
358 if (llvm::isa<Constant>(CallTarget)) { in emitCallToTarget()
362 _mov(CallTargetVar, CallTarget); in emitCallToTarget()
367 CallTarget = CallTargetVar; in emitCallToTarget()
370 return Context.insert<Traits::Insts::Call>(ReturnReg, CallTarget); in emitCallToTarget()
426 auto *CallTarget = in emitStackProbe() local
428 emitCallToTarget(CallTarget, nullptr); in emitStackProbe()
DIceTargetLoweringX8632.h65 Inst *emitCallToTarget(Operand *CallTarget, Variable *ReturnReg,
DIceTargetLoweringX8664.h68 Inst *emitCallToTarget(Operand *CallTarget, Variable *ReturnReg,
DIceASanInstrumentation.cpp343 auto *CallTarget = in instrumentCall() local
345 if (CallTarget == nullptr) in instrumentCall()
348 std::string TargetName = CallTarget->getName().toStringOrEmpty(); in instrumentCall()
DIceInstMIPS32.cpp282 InstMIPS32Call::InstMIPS32Call(Cfg *Func, Variable *Dest, Operand *CallTarget) in InstMIPS32Call() argument
285 addSource(CallTarget); in InstMIPS32Call()
567 } else if (const auto *CallTarget = in emit() local
574 CallTarget->emitWithoutPrefix(Func->getTarget()); in emit()
588 } else if (const auto *CallTarget = in emitIAS() local
590 Asm->jal(CallTarget); in emitIAS()
DIceConverter.cpp555 Ice::Operand *CallTarget = convertValue(Instr->getCalledValue()); in convertCallInstruction() local
558 if (const auto Target = dyn_cast<Ice::ConstantRelocatable>(CallTarget)) { in convertCallInstruction()
569 Func.get(), NumArgs, Dest, CallTarget, Info->Info); in convertCallInstruction()
583 Func.get(), NumArgs, Dest, CallTarget, Instr->isTailCall()); in convertCallInstruction()
DIceInst.h433 Operand *CallTarget, bool HasTailCall,
441 InstCall(Func, NumArgs, Dest, CallTarget, HasTailCall,
457 InstCall(Cfg *Func, SizeT NumArgs, Variable *Dest, Operand *CallTarget, in InstCall() argument
463 addSource(CallTarget); in InstCall()
DIceInstX86BaseImpl.h177 Operand *CallTarget) in InstX86Call() argument
180 this->addSource(CallTarget); in InstX86Call()
635 Operand *CallTarget = getCallTarget(); in emit() local
637 if (const auto *CI = llvm::dyn_cast<ConstantInteger32>(CallTarget)) { in emit()
641 llvm::dyn_cast<ConstantRelocatable>(CallTarget)) { in emit()
645 CallTarget->emit(Func); in emit()
652 Operand *CallTarget = getCallTarget(); in emitIAS() local
654 if (const auto *Var = llvm::dyn_cast<Variable>(CallTarget)) { in emitIAS()
660 } else if (const auto *Mem = llvm::dyn_cast<X86OperandMem>(CallTarget)) { in emitIAS()
663 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(CallTarget)) { in emitIAS()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp389 int64_t CallTarget = Opers.getMetaOper(PatchPointOpers::TargetPos).getImm(); in LowerPATCHPOINT() local
391 if (CallTarget) { in LowerPATCHPOINT()
392 assert((CallTarget & 0xFFFFFFFFFFFF) == CallTarget && in LowerPATCHPOINT()
399 .addImm((CallTarget >> 32) & 0xFFFF) in LowerPATCHPOINT()
404 .addImm((CallTarget >> 16) & 0xFFFF) in LowerPATCHPOINT()
409 .addImm(CallTarget & 0xFFFF) in LowerPATCHPOINT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCGSCCPassManager.cpp607 for (Node *CallTarget : PromotedRefTargets) { in updateCGAndAnalysisManagerForFunctionPass()
608 SCC &TargetC = *G.lookupSCC(*CallTarget); in updateCGAndAnalysisManagerForFunctionPass()
616 RC->switchOutgoingEdgeToCall(N, *CallTarget); in updateCGAndAnalysisManagerForFunctionPass()
618 << "' to '" << *CallTarget << "'\n"); in updateCGAndAnalysisManagerForFunctionPass()
622 << N << "' to '" << *CallTarget << "'\n"); in updateCGAndAnalysisManagerForFunctionPass()
631 N, *CallTarget, [&](ArrayRef<SCC *> MergedSCCs) { in updateCGAndAnalysisManagerForFunctionPass()
/external/llvm-project/llvm/lib/Analysis/
DCGSCCPassManager.cpp1002 for (Node *CallTarget : NewCallEdges) { in updateCGAndAnalysisManagerForPass()
1003 SCC &TargetC = *G.lookupSCC(*CallTarget); in updateCGAndAnalysisManagerForPass()
1011 RC->insertTrivialRefEdge(N, *CallTarget); in updateCGAndAnalysisManagerForPass()
1132 for (Node *CallTarget : PromotedRefTargets) { in updateCGAndAnalysisManagerForPass()
1133 SCC &TargetC = *G.lookupSCC(*CallTarget); in updateCGAndAnalysisManagerForPass()
1141 RC->switchOutgoingEdgeToCall(N, *CallTarget); in updateCGAndAnalysisManagerForPass()
1143 << "' to '" << *CallTarget << "'\n"); in updateCGAndAnalysisManagerForPass()
1147 << N << "' to '" << *CallTarget << "'\n"); in updateCGAndAnalysisManagerForPass()
1156 N, *CallTarget, [&](ArrayRef<SCC *> MergedSCCs) { in updateCGAndAnalysisManagerForPass()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp950 int64_t CallTarget = Opers.getCallTarget().getImm(); in LowerPATCHPOINT() local
952 if (CallTarget) { in LowerPATCHPOINT()
953 assert((CallTarget & 0xFFFFFFFFFFFF) == CallTarget && in LowerPATCHPOINT()
960 .addImm((CallTarget >> 32) & 0xFFFF) in LowerPATCHPOINT()
965 .addImm((CallTarget >> 16) & 0xFFFF) in LowerPATCHPOINT()
970 .addImm(CallTarget & 0xFFFF) in LowerPATCHPOINT()
993 const MachineOperand &CallTarget = SOpers.getCallTarget(); in LowerSTATEPOINT() local
996 switch (CallTarget.getType()) { in LowerSTATEPOINT()
999 MCInstLowering.lowerOperand(CallTarget, CallTargetMCOp); in LowerSTATEPOINT()
1003 CallTargetMCOp = MCOperand::createImm(CallTarget.getImm()); in LowerSTATEPOINT()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProf.h208 using CallTarget = std::pair<StringRef, uint64_t>;
210 bool operator()(const CallTarget &LHS, const CallTarget &RHS) const {
218 using SortedCallTargetSet = std::set<CallTarget, CallTargetComparator>;
/external/llvm-project/llvm/include/llvm/ProfileData/
DSampleProf.h274 using CallTarget = std::pair<StringRef, uint64_t>;
276 bool operator()(const CallTarget &LHS, const CallTarget &RHS) const {
284 using SortedCallTargetSet = std::set<CallTarget, CallTargetComparator>;
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZAsmPrinter.cpp630 uint64_t CallTarget = CalleeMO.getImm(); in LowerPATCHPOINT() local
631 if (CallTarget) { in LowerPATCHPOINT()
642 .addImm(CallTarget & 0xFFFFFFFF)); in LowerPATCHPOINT()
644 if (CallTarget >> 32) { in LowerPATCHPOINT()
647 .addImm(CallTarget >> 32)); in LowerPATCHPOINT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZAsmPrinter.cpp630 uint64_t CallTarget = CalleeMO.getImm(); in LowerPATCHPOINT() local
631 if (CallTarget) { in LowerPATCHPOINT()
642 .addImm(CallTarget & 0xFFFFFFFF)); in LowerPATCHPOINT()
644 if (CallTarget >> 32) { in LowerPATCHPOINT()
647 .addImm(CallTarget >> 32)); in LowerPATCHPOINT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp905 int64_t CallTarget = Opers.getCallTarget().getImm(); in LowerPATCHPOINT() local
907 if (CallTarget) { in LowerPATCHPOINT()
908 assert((CallTarget & 0xFFFFFFFFFFFF) == CallTarget && in LowerPATCHPOINT()
915 .addImm((CallTarget >> 32) & 0xFFFF) in LowerPATCHPOINT()
920 .addImm((CallTarget >> 16) & 0xFFFF) in LowerPATCHPOINT()
925 .addImm(CallTarget & 0xFFFF) in LowerPATCHPOINT()
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp354 int64_t CallTarget = Opers.getMetaOper(PatchPointOpers::TargetPos).getImm(); in LowerPATCHPOINT() local
355 if (CallTarget) { in LowerPATCHPOINT()
356 assert((CallTarget & 0xFFFFFFFFFFFF) == CallTarget && in LowerPATCHPOINT()
363 .addImm((CallTarget >> 32) & 0xFFFF)); in LowerPATCHPOINT()
373 .addImm((CallTarget >> 16) & 0xFFFF)); in LowerPATCHPOINT()
378 .addImm(CallTarget & 0xFFFF)); in LowerPATCHPOINT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp389 int64_t CallTarget = CalleeMO.getImm(); in LowerPATCHPOINT() local
390 if (CallTarget) { in LowerPATCHPOINT()
391 assert((CallTarget & 0xFFFFFFFFFFFF) == CallTarget && in LowerPATCHPOINT()
398 .addImm((CallTarget >> 32) & 0xFFFF)); in LowerPATCHPOINT()
408 .addImm((CallTarget >> 16) & 0xFFFF)); in LowerPATCHPOINT()
413 .addImm(CallTarget & 0xFFFF)); in LowerPATCHPOINT()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp396 int64_t CallTarget = CalleeMO.getImm(); in LowerPATCHPOINT() local
397 if (CallTarget) { in LowerPATCHPOINT()
398 assert((CallTarget & 0xFFFFFFFFFFFF) == CallTarget && in LowerPATCHPOINT()
405 .addImm((CallTarget >> 32) & 0xFFFF)); in LowerPATCHPOINT()
415 .addImm((CallTarget >> 16) & 0xFFFF)); in LowerPATCHPOINT()
420 .addImm(CallTarget & 0xFFFF)); in LowerPATCHPOINT()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp854 const MachineOperand &CallTarget = SOpers.getCallTarget(); in LowerSTATEPOINT() local
857 switch (CallTarget.getType()) { in LowerSTATEPOINT()
861 CallTarget, MCIL.GetSymbolFromOperand(CallTarget)); in LowerSTATEPOINT()
869 CallTargetMCOp = MCOperand::createImm(CallTarget.getImm()); in LowerSTATEPOINT()
877 CallTargetMCOp = MCOperand::createReg(CallTarget.getReg()); in LowerSTATEPOINT()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1523 Value *CallTarget = Call->getCalledOperand(); in makeStatepointExplicitImpl() local
1524 if (Function *F = dyn_cast<Function>(CallTarget)) { in makeStatepointExplicitImpl()
1541 CallTarget = F->getParent() in makeStatepointExplicitImpl()
1637 CallTarget = in makeStatepointExplicitImpl()
1648 StatepointID, NumPatchBytes, CallTarget, Flags, CallArgs, in makeStatepointExplicitImpl()
1675 StatepointID, NumPatchBytes, CallTarget, II->getNormalDest(), in makeStatepointExplicitImpl()

12