Lines Matching defs:DFSanFunction
419 friend struct DFSanFunction;
581 struct DFSanFunction {
618 DFSanFunction(DataFlowSanitizer &DFS, Function *F, bool IsNativeABI,
787 DFSanFunction &DFSF;
789 DFSanVisitor(DFSanFunction &DFSF) : DFSF(DFSF) {}
976 bool DFSanFunction::shouldInstrumentWithCall() {
981 Value *DFSanFunction::expandFromPrimitiveShadow(Type *T, Value *PrimitiveShadow,
1003 Value *DFSanFunction::collapseAggregateShadow(AggregateType *AT, Value *Shadow,
1019 Value *DFSanFunction::collapseToPrimitiveShadow(Value *Shadow,
1031 Value *DFSanFunction::collapseToPrimitiveShadow(Value *Shadow,
1049 void DFSanFunction::addConditionalCallbacksIfEnabled(Instruction &I,
1067 void DFSanFunction::addReachesFunctionCallbacksIfEnabled(IRBuilder<> &IRB,
1697 DFSanFunction DFSF(*this, F, FnsWithNativeABI.count(F),
1751 for (DFSanFunction::PHIFixupElement &P : DFSF.PHIFixups) {
1791 Value *DFSanFunction::getArgTLS(Type *T, unsigned ArgOffset, IRBuilder<> &IRB) {
1799 Value *DFSanFunction::getRetvalTLS(Type *T, IRBuilder<> &IRB) {
1804 Value *DFSanFunction::getRetvalOriginTLS() { return DFS.RetvalOriginTLS; }
1806 Value *DFSanFunction::getArgOriginTLS(unsigned ArgNo, IRBuilder<> &IRB) {
1811 Value *DFSanFunction::getOrigin(Value *V) {
1836 void DFSanFunction::setOrigin(Instruction *I, Value *Origin) {
1844 Value *DFSanFunction::getShadowForTLSArgument(Argument *A) {
1875 Value *DFSanFunction::getShadow(Value *V) {
1894 void DFSanFunction::setShadow(Instruction *I, Value *Shadow) {
1966 Value *DFSanFunction::combineShadowsThenConvert(Type *T, Value *V1, Value *V2,
1974 Value *DFSanFunction::combineShadows(Value *V1, Value *V2,
2036 Value *DFSanFunction::combineOperandShadows(Instruction *Inst) {
2055 Value *DFSanFunction::combineOrigins(const std::vector<Value *> &Shadows,
2084 Value *DFSanFunction::combineOperandOrigins(Instruction *Inst) {
2102 Align DFSanFunction::getShadowAlign(Align InstAlignment) {
2107 Align DFSanFunction::getOriginAlign(Align InstAlignment) {
2112 bool DFSanFunction::isLookupTableConstant(Value *P) {
2120 bool DFSanFunction::useCallbackLoadLabelAndOrigin(uint64_t Size,
2152 std::pair<Value *, Value *> DFSanFunction::loadShadowFast(
2239 std::pair<Value *, Value *> DFSanFunction::loadShadowOriginSansLoadTracking(
2338 DFSanFunction::loadShadowOrigin(Value *Addr, uint64_t Size, Align InstAlignment,
2459 Value *DFSanFunction::updateOriginIfTainted(Value *Shadow, Value *Origin,
2465 Value *DFSanFunction::updateOrigin(Value *V, IRBuilder<> &IRB) {
2471 Value *DFSanFunction::originToIntptr(IRBuilder<> &IRB, Value *Origin) {
2482 void DFSanFunction::paintOrigin(IRBuilder<> &IRB, Value *Origin,
2517 Value *DFSanFunction::convertToBool(Value *V, IRBuilder<> &IRB,
2527 void DFSanFunction::storeOrigin(BasicBlock::iterator Pos, Value *Addr,
2558 void DFSanFunction::storeZeroPrimitiveShadow(Value *Addr, uint64_t Size,
2571 void DFSanFunction::storePrimitiveShadowOrigin(Value *Addr, uint64_t Size,