Home
last modified time | relevance | path

Searched refs:CreateCall (Results 1 – 25 of 161) sorted by relevance

1234567

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_subcomputation_unification_test.cc80 HloInstruction::CreateCall(r0s32_, {constant}, callee1)); in TEST_F()
82 HloInstruction::CreateCall(r0s32_, {constant}, callee2)); in TEST_F()
119 HloInstruction::CreateCall(r0s32_, {constant1, constant2}, callee1)); in TEST_F()
121 HloInstruction::CreateCall(r0s32_, {constant1, constant2}, callee2)); in TEST_F()
159 HloInstruction::CreateCall(r1s32_5_, {param1, param1}, callee1)); in TEST_F()
161 HloInstruction::CreateCall(r1s32_3_, {param2, param2}, callee2)); in TEST_F()
Dcall_inliner_test.cc63 HloInstruction::CreateCall(r0f32, {}, inner_computation)); in TEST_F()
96 HloInstruction::CreateCall(pred, {}, false_computation)); in TEST_F()
135 HloInstruction::CreateCall(pred, {}, false_computation)); in TEST_F()
157 outer.AddInstruction(HloInstruction::CreateCall( in TEST_F()
Dhlo_ordering_test.cc115 HloInstruction::CreateCall(scalar_shape, {}, computation_c)); in TEST_F()
121 HloInstruction::CreateCall(scalar_shape, {}, computation_c)); in TEST_F()
127 HloInstruction::CreateCall(scalar_shape, {}, computation_a)); in TEST_F()
129 HloInstruction::CreateCall(scalar_shape, {x}, computation_b)); in TEST_F()
Dwhile_util.cc46 HloInstruction::CreateCall(ShapeUtil::MakeShape(PRED, {}), in WidenWhileCondition()
71 wide_while_body->AddInstruction(HloInstruction::CreateCall( in WidenWhileBody()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp443 IRB.CreateCall(SanCovTracePCIndir, in InjectCoverageForIndirectCalls()
446 IRB.CreateCall(SanCovIndirCallFunction, in InjectCoverageForIndirectCalls()
484 IRB.CreateCall(SanCovTraceSwitchFunction, in InjectTraceForSwitch()
501 IRB.CreateCall( in InjectTraceForCmp()
547 IRB.CreateCall(SanCovTracePC); // gets the PC using GET_CALLER_PC. in InjectCoverageAtBlock()
548 IRB.CreateCall(EmptyAsm, {}); // Avoids callback merge. in InjectCoverageAtBlock()
550 IRB.CreateCall(IsEntryBB ? SanCovTraceEnter : SanCovTraceBB, GuardP); in InjectCoverageAtBlock()
552 IRB.CreateCall(SanCovWithCheckFunction, GuardP); in InjectCoverageAtBlock()
565 IRB.CreateCall(SanCovFunction, GuardP); in InjectCoverageAtBlock()
566 IRB.CreateCall(EmptyAsm, {}); // Avoids callback merge. in InjectCoverageAtBlock()
DThreadSanitizer.cpp445 Value *ReturnAddress = IRB.CreateCall( in runOnFunction()
448 IRB.CreateCall(TsanFuncEntry, ReturnAddress); in runOnFunction()
451 IRBRet.CreateCall(TsanFuncExit, {}); in runOnFunction()
480 IRB.CreateCall(TsanVptrUpdate, in instrumentLoadOrStore()
487 IRB.CreateCall(TsanVptrLoad, in instrumentLoadOrStore()
502 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
536 IRB.CreateCall( in instrumentMemIntrinsic()
543 IRB.CreateCall( in instrumentMemIntrinsic()
585 Value *C = IRB.CreateCall(TsanAtomicLoad[Idx], Args); in instrumentAtomic()
638 CallInst *C = IRB.CreateCall(TsanAtomicCAS[Idx], Args); in instrumentAtomic()
DAddressSanitizer.cpp692 Value *DynamicAreaOffset = IRB.CreateCall(DynamicAreaOffsetFunc, {}); in unpoisonDynamicAllocasBeforeInst()
698 IRB.CreateCall(AsanAllocasUnpoisonFunc, in unpoisonDynamicAllocasBeforeInst()
898 IRB.CreateCall( in instrumentMemIntrinsic()
904 IRB.CreateCall( in instrumentMemIntrinsic()
1025 IRB.CreateCall(F, Param); in instrumentPointerComparisonOrSubtraction()
1097 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][0], in generateCrashCode()
1100 Call = IRB.CreateCall(AsanErrorCallbackSized[IsWrite][1], in generateCrashCode()
1105 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr); in generateCrashCode()
1107 Call = IRB.CreateCall(AsanErrorCallback[IsWrite][1][AccessSizeIndex], in generateCrashCode()
1114 IRB.CreateCall(EmptyAsm, {}); in generateCrashCode()
[all …]
DGCOVProfiling.cpp671 Builder.CreateCall(getIncrementIndirectCounterFunc(), in emitProfileArcs()
705 Builder.CreateCall(GCOVInit, {WriteoutF, FlushF}); in emitProfileArcs()
862 Builder.CreateCall(StartFile, in insertCounterWriteout()
869 Builder.CreateCall( in insertCounterWriteout()
882 Builder.CreateCall(EmitArcs, {Builder.getInt32(Arcs), in insertCounterWriteout()
885 Builder.CreateCall(SummaryInfo, {}); in insertCounterWriteout()
886 Builder.CreateCall(EndFile, {}); in insertCounterWriteout()
966 Builder.CreateCall(WriteoutF, {}); in insertFlush()
DInstrProfiling.cpp213 Builder.CreateCall(getOrInsertValueProfilingCall(*M), Args)); in lowerValueProfileInst()
522 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration()
531 IRB.CreateCall(NamesRegisterF, {IRB.CreateBitCast(NamesVar, VoidPtrTy), in emitRegistration()
622 IRB.CreateCall(RegisterF, {}); in emitInitialization()
636 IRB.CreateCall(SetNameF, IRB.CreatePointerCast(ProfileName, Int8PtrTy)); in emitInitialization()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp229 return CGF.Builder.CreateCall(F, Src0); in emitUnaryBuiltin()
240 return CGF.Builder.CreateCall(F, { Src0, Src1 }); in emitBinaryBuiltin()
252 return CGF.Builder.CreateCall(F, { Src0, Src1, Src2 }); in emitTernaryBuiltin()
263 return CGF.Builder.CreateCall(F, {Src0, Src1}); in emitFPIntBuiltin()
269 llvm::CallInst *Call = CGF.Builder.CreateCall(F, V); in EmitFAbs()
330 llvm::Value *Tmp = CGF.Builder.CreateCall(Callee, {X, Y}); in EmitOverflowIntrinsic()
341 llvm::Instruction *Call = CGF.Builder.CreateCall(F); in emitRangedBuiltin()
397 return Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue); in EmitVAStartEnd()
462 return Builder.CreateCall(F, {EmitScalarExpr(E), CI}); in emitBuiltinObjectSize()
502 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(Intrinsic::vacopy), in EmitBuiltinExpr()
[all …]
DCGCUDANV.cpp211 Builder.CreateCall(RegisterFunc, Args); in makeRegisterGlobalsFn()
237 Builder.CreateCall(RegisterVar, Args); in makeRegisterGlobalsFn()
307 llvm::CallInst *RegisterFatbinCall = CtorBuilder.CreateCall( in makeModuleCtorFunction()
318 CtorBuilder.CreateCall(RegisterGlobalsFunc, RegisterFatbinCall); in makeModuleCtorFunction()
358 DtorBuilder.CreateCall(UnregisterFatbinFunc, HandleValue); in makeModuleDtorFunction()
DCGObjCRuntime.cpp163 CGF.Builder.CreateCall(Fn)->setDoesNotThrow(); in Emit()
237 Exn = CGF.Builder.CreateCall(beginCatchFn, RawExn, "exn.adjusted"); in EmitTryCatchStmt()
314 CGF.Builder.CreateCall(SyncExitFn, SyncArg)->setDoesNotThrow(); in Emit()
338 CGF.Builder.CreateCall(syncEnterFn, lock)->setDoesNotThrow(); in EmitAtSynchronizedStmt()
DCGOpenMPRuntimeNVPTX.cpp26 return Bld.CreateCall( in getNVPTXWarpSize()
35 return Bld.CreateCall( in getNVPTXThreadID()
44 return Bld.CreateCall( in getNVPTXNumThreads()
53 Bld.CreateCall(llvm::Intrinsic::getDeclaration( in getNVPTXCTABarrier()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTest.cpp173 Value *innerResult = Builder.CreateCall(Inner, {}); in TEST_F()
211 CallInst *Call = Builder.CreateCall(Foo, {}); in TEST_F()
250 CallInst *Call1 = Builder.CreateCall(Foo1, {}); in TEST_F()
251 CallInst *Call2 = Builder.CreateCall(Foo2, {}); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp727 CallInst *CI = B.CreateCall(StrLen, castToCStr(Ptr, B), "strlen"); in emitStrLen()
745 CallInst *CI = B.CreateCall( in emitStrChr()
763 CallInst *CI = B.CreateCall( in emitStrNCmp()
782 B.CreateCall(StrCpy, {castToCStr(Dst, B), castToCStr(Src, B)}, Name); in emitStrCpy()
798 CallInst *CI = B.CreateCall( in emitStrNCpy()
822 CallInst *CI = B.CreateCall(MemCpy, {Dst, Src, Len, ObjSize}); in emitMemCpyChk()
839 CallInst *CI = B.CreateCall(MemChr, {castToCStr(Ptr, B), Val, Len}, "memchr"); in emitMemChr()
858 CallInst *CI = B.CreateCall( in emitMemCmp()
890 CallInst *CI = B.CreateCall(Callee, Op, Name); in emitUnaryFloatFnCall()
906 CallInst *CI = B.CreateCall(Callee, {Op1, Op2}, Name); in emitBinaryFloatFnCall()
[all …]
DSanitizerStats.cpp69 B.CreateCall(StatReport, ConstantExpr::getBitCast(InitAddr, Int8PtrTy)); in create()
104 B.CreateCall(StatInit, ConstantExpr::getBitCast(NewModuleStatsGV, Int8PtrTy)); in finish()
DModuleUtils.cpp119 IRB.CreateCall(InitFunction, InitArgs); in createSanitizerCtorAndInitFunctions()
125 IRB.CreateCall(VersionCheckFunction, {}); in createSanitizerCtorAndInitFunctions()
/external/llvm/lib/CodeGen/
DStackProtector.cpp305 return B.CreateCall(Intrinsic::getDeclaration(M, Intrinsic::stackguard)); in getStackGuard()
326 B.CreateCall(Intrinsic::getDeclaration(M, Intrinsic::stackprotector), in CreatePrologue()
372 CallInst *Call = B.CreateCall(GuardCheck, {Guard}); in InsertStackProtectors()
458 B.CreateCall(StackChkFail, B.CreateGlobalStringPtr(F->getName(), "SSH")); in CreateFailBB()
463 B.CreateCall(StackChkFail, {}); in CreateFailBB()
DSjLjEHPrepare.cpp212 Value *LSDA = Builder.CreateCall(LSDAAddrFn, {}, "lsda_addr"); in setupFunctionContext()
385 Value *Val = Builder.CreateCall(FrameAddrFn, Builder.getInt32(0), "fp"); in setupEntryBlockAndCallSites()
392 Val = Builder.CreateCall(StackAddrFn, {}, "sp"); in setupEntryBlockAndCallSites()
396 Builder.CreateCall(BuiltinSetupDispatchFn, {}); in setupEntryBlockAndCallSites()
401 Builder.CreateCall(FuncCtxFn, FuncCtxArg); in setupEntryBlockAndCallSites()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp290 Value *SP = Builder.CreateCall( in emitExceptionRegistrationRecord()
320 Value *SP = Builder.CreateCall( in emitExceptionRegistrationRecord()
342 Value *FrameAddr = Builder.CreateCall( in emitExceptionRegistrationRecord()
376 return Builder.CreateCall( in emitEHLSDA()
411 CallInst *Call = Builder.CreateCall(CastPersonality, Args); in generateLSDAInEAXThunk()
492 CallInst *NewCI = Builder.CreateCall(SetJmp3, Args, OpBundles); in rewriteSetJmpCallSite()
638 Builder.CreateCall( in addStateStores()
646 Builder.CreateCall( in addStateStores()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp217 FCall = Builder.CreateCall(Callee, None); in TEST_F()
222 FCall = Builder.CreateCall(V, None); in TEST_F()
229 FCall = Builder.CreateCall(Callee, None); in TEST_F()
234 FCall = Builder.CreateCall(V, None); in TEST_F()
410 auto Call1 = Builder.CreateCall(Callee, None); in TEST_F()
416 auto Call2 = Builder.CreateCall(Callee, None); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Delemental_ir_emitter.cc62 llvm::Value* result = ir_builder_->CreateCall(function, operand_value); in EmitFloatUnaryOp()
101 llvm::Value* result = ir_builder_->CreateCall(function, {lhs, rhs}); in EmitAtan2()
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITTest.cpp309 Value *result = Builder.CreateCall( in TEST_F()
347 Builder.CreateCall(Func2, ConstantInt::getTrue(Context)); in TEST_F()
348 Builder.CreateCall(Func3, ConstantInt::getTrue(Context)); in TEST_F()
355 Builder.CreateCall(Func3, ConstantInt::getFalse(Context)); in TEST_F()
364 Builder.CreateCall(Func2, ConstantInt::getFalse(Context)); in TEST_F()
393 Value *Result = Builder.CreateCall(Func2); in TEST_F()
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp121 IRBFail.CreateCall(CFICheckFailFn, {&CFICheckFailData, &Addr}); in buildCFICheck()
135 Value *Test = IRBTest.CreateCall( in buildCFICheck()
/external/llvm/examples/BrainF/
DBrainF.cpp114 CreateCall(memset_func, memset_params); in header()
213 builder->CreateCall(getchar_func, {}, tapereg); in readloop()
240 CreateCall(putchar_func, in readloop()

1234567