/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86RetpolineThunks.cpp | 250 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/ |
D | X86IndirectThunks.cpp | 209 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/ |
D | IceTargetLoweringX8664.cpp | 642 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 …]
|
D | IceTargetLoweringX8632.cpp | 349 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()
|
D | IceTargetLoweringX8632.h | 65 Inst *emitCallToTarget(Operand *CallTarget, Variable *ReturnReg,
|
D | IceTargetLoweringX8664.h | 68 Inst *emitCallToTarget(Operand *CallTarget, Variable *ReturnReg,
|
D | IceASanInstrumentation.cpp | 343 auto *CallTarget = in instrumentCall() local 345 if (CallTarget == nullptr) in instrumentCall() 348 std::string TargetName = CallTarget->getName().toStringOrEmpty(); in instrumentCall()
|
D | IceInstMIPS32.cpp | 282 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()
|
D | IceConverter.cpp | 555 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()
|
D | IceInst.h | 433 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()
|
D | IceInstX86BaseImpl.h | 177 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/ |
D | AArch64AsmPrinter.cpp | 389 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/ |
D | CGSCCPassManager.cpp | 607 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/ |
D | CGSCCPassManager.cpp | 1002 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/ |
D | AArch64AsmPrinter.cpp | 950 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/ |
D | SampleProf.h | 208 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/ |
D | SampleProf.h | 274 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/ |
D | SystemZAsmPrinter.cpp | 630 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/ |
D | SystemZAsmPrinter.cpp | 630 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/ |
D | AArch64AsmPrinter.cpp | 905 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/ |
D | PPCAsmPrinter.cpp | 354 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/ |
D | PPCAsmPrinter.cpp | 389 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/ |
D | PPCAsmPrinter.cpp | 396 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/ |
D | X86MCInstLower.cpp | 854 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/ |
D | RewriteStatepointsForGC.cpp | 1523 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()
|